mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-06 21:04:23 +01:00
section 14: Phase 14: Model view models use ModelInfo field names
This commit is contained in:
1 parent
2d4abe79e1
commit
fbc3e02208
15 files changed
+49
-62
No files matched your search
@@ -2,12 +2,7 @@ import type { ModelInfo, ModelRef } from '@opencode-manager/shared/opencode'
|
||||
import { findModelInfo, formatOpenCodeModelRef, openCodeLocation, parseOpenCodeModelRef, selectConfiguredModelRef, selectEffectiveModelRef } from '@opencode-manager/shared/opencode'
|
||||
import type { OpenCodeClient } from './opencode/client'
|
||||
|
||||
export interface ResolvedOpenCodeModel {
|
||||
providerID: string
|
||||
id: string
|
||||
variant?: string
|
||||
model: string
|
||||
}
|
||||
export type ResolvedOpenCodeModel = ModelRef & { model: string }
|
||||
|
||||
export interface ResolveOpenCodeModelOptions {
|
||||
preferredModel?: string | null
|
||||
|
||||
Reference in new issue
Block a user