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.
This commit is contained in:
David Hill
2026-02-17 14:58:55 +00:00
parent 5a3e0ef13a
commit 2cac848823
2 changed files with 19 additions and 6 deletions

View File

@@ -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