fix(ui): use v2 message info and show model variant

This commit is contained in:
Shantur Rathore
2026-02-25 22:29:27 +00:00
parent ef4c8ef425
commit 5834d2df1b
15 changed files with 35 additions and 25 deletions

View File

@@ -1,5 +1,5 @@
import { For, Show } from "solid-js"
import type { ToolState } from "@opencode-ai/sdk"
import type { ToolState } from "@opencode-ai/sdk/v2"
import type { ToolRenderer } from "../types"
import { readToolStatePayload } from "../utils"
import { useI18n, tGlobal } from "../../../lib/i18n"