mirror of
https://github.com/anomalyco/opencode.git
synced 2026-04-28 04:29:42 +00:00
fix: use existingModel as fallback for interleaved field (#24172)
This commit is contained in:
parent
d89bfc32ac
commit
3062d3e070
1 changed files with 1 additions and 1 deletions
|
|
@ -1177,7 +1177,7 @@ const layer: Layer.Layer<
|
|||
model.modalities?.output?.includes("video") ?? existingModel?.capabilities.output.video ?? false,
|
||||
pdf: model.modalities?.output?.includes("pdf") ?? existingModel?.capabilities.output.pdf ?? false,
|
||||
},
|
||||
interleaved: model.interleaved ?? false,
|
||||
interleaved: model.interleaved ?? existingModel?.capabilities.interleaved ?? false,
|
||||
},
|
||||
cost: {
|
||||
input: model?.cost?.input ?? existingModel?.cost?.input ?? 0,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue