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
@@ -24,7 +24,7 @@ const providers: Provider[] = [
|
||||
id: 'anthropic',
|
||||
name: 'Anthropic',
|
||||
models: [
|
||||
{ id: 'claude-opus-5-5', key: 'claude-opus-5-5-fast', name: 'Claude Opus 5.5', released: 0, free: false },
|
||||
{ id: 'claude-opus-5-5-fast', modelID: 'claude-opus-5-5', name: 'Claude Opus 5.5', released: 0, free: false },
|
||||
],
|
||||
},
|
||||
]
|
||||
|
||||
@@ -90,6 +90,7 @@ function providerFixture(id: string, name: string, modelCount: number): Provider
|
||||
name,
|
||||
models: Array.from({ length: modelCount }, (_, index) => ({
|
||||
id: `model-${index}`,
|
||||
modelID: `model-${index}`,
|
||||
name: `model-${index}`,
|
||||
released: 0,
|
||||
free: false,
|
||||
|
||||
@@ -25,7 +25,7 @@ const providers: Provider[] = [
|
||||
id: 'anthropic',
|
||||
name: 'Anthropic',
|
||||
models: [
|
||||
{ id: 'claude-sonnet-4', key: 'claude-sonnet-4', name: 'Claude Sonnet 4', released: 0, free: false },
|
||||
{ id: 'claude-sonnet-4', modelID: 'claude-sonnet-4', name: 'Claude Sonnet 4', released: 0, free: false },
|
||||
],
|
||||
},
|
||||
]
|
||||
|
||||
Reference in new issue
Block a user