fix(core): refine small model defaults (#33926)
This commit is contained in:
parent
f428755851
commit
ded29f03f0
3 changed files with 125 additions and 24 deletions
|
|
@ -235,6 +235,11 @@ export const layer = Layer.effect(
|
|||
if (!record) return
|
||||
const provider = record.provider
|
||||
|
||||
// TODO: Remove these provider-specific assumptions once model syncing reliably reports available deployments.
|
||||
if (providerID === ProviderV2.ID.azure || providerID === ProviderV2.ID.make("azure-cognitive-services")) {
|
||||
return
|
||||
}
|
||||
|
||||
if (providerID === ProviderV2.ID.opencode) {
|
||||
const gpt5Nano = record.models.get(ModelV2.ID.make("gpt-5-nano"))
|
||||
if (gpt5Nano?.enabled && gpt5Nano.status === "active") return projectModel(gpt5Nano, provider)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue