diff options
| author | David Hill <[email protected]> | 2026-02-17 14:58:55 +0000 |
|---|---|---|
| committer | David Hill <[email protected]> | 2026-02-17 15:16:07 +0000 |
| commit | 2cac84882380c8b2a6e3ae27521fedf80407124c (patch) | |
| tree | 0cfda2bf8862ba7d625c557d2fc88f34e77505dc /packages/ui/src/context | |
| parent | 5a3e0ef13aabd973f48b94fb74b9924a85211de0 (diff) | |
| download | opencode-2cac84882380c8b2a6e3ae27521fedf80407124c.tar.gz opencode-2cac84882380c8b2a6e3ae27521fedf80407124c.zip | |
tweak(ui): use provider catalog names
Renders provider and model display names from the provider list instead of raw IDs in user message hover metadata.
Diffstat (limited to 'packages/ui/src/context')
| -rw-r--r-- | packages/ui/src/context/data.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/ui/src/context/data.tsx b/packages/ui/src/context/data.tsx index 5ff3d9131..2c44763f5 100644 --- a/packages/ui/src/context/data.tsx +++ b/packages/ui/src/context/data.tsx @@ -7,11 +7,13 @@ import type { PermissionRequest, QuestionRequest, QuestionAnswer, + ProviderListResponse, } from "@opencode-ai/sdk/v2" import { createSimpleContext } from "./helper" import { PreloadMultiFileDiffResult } from "@pierre/diffs/ssr" type Data = { + provider?: ProviderListResponse session: Session[] session_status: { [sessionID: string]: SessionStatus |
