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

@@ -44,7 +44,7 @@ import { getLogger } from "../lib/logger"
const log = getLogger("session")
type ToolState = import("@opencode-ai/sdk").ToolState
type ToolState = import("@opencode-ai/sdk/v2").ToolState
const TOOL_CALL_CACHE_SCOPE = "tool-call"
const TOOL_SCROLL_SENTINEL_MARGIN_PX = 48