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,4 +1,4 @@
import type { ToolState } from "@opencode-ai/sdk"
import type { ToolState } from "@opencode-ai/sdk/v2"
import { getRelativePath, isToolStateCompleted, isToolStateError, isToolStateRunning } from "./utils"
import { tGlobal } from "../../lib/i18n"