mirror of
https://github.com/anomalyco/opencode.git
synced 2026-08-14 21:13:24 +00:00
chore: generate
This commit is contained in:
parent
c45467964c
commit
6314d741e7
1 changed files with 3 additions and 1 deletions
|
|
@ -1667,7 +1667,9 @@ export namespace ACP {
|
|||
): ModelOption[] {
|
||||
const includeVariants = options.includeVariants ?? false
|
||||
return providers.flatMap((provider) => {
|
||||
const unsorted: Array<{ id: string; name: string; variants?: Record<string, any> }> = Object.values(provider.models)
|
||||
const unsorted: Array<{ id: string; name: string; variants?: Record<string, any> }> = Object.values(
|
||||
provider.models,
|
||||
)
|
||||
const models = Provider.sort(unsorted)
|
||||
return models.flatMap((model) => {
|
||||
const base: ModelOption = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue