mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-06 08:21:50 +00:00
fix: ensure the mistral ordering fixes also apply to devstral (#11412)
This commit is contained in:
parent
b6bbb95704
commit
95bf01a757
1 changed files with 5 additions and 1 deletions
|
|
@ -83,7 +83,11 @@ export namespace ProviderTransform {
|
|||
return msg
|
||||
})
|
||||
}
|
||||
if (model.providerID === "mistral" || model.api.id.toLowerCase().includes("mistral")) {
|
||||
if (
|
||||
model.providerID === "mistral" ||
|
||||
model.api.id.toLowerCase().includes("mistral") ||
|
||||
model.api.id.toLocaleLowerCase().includes("devstral")
|
||||
) {
|
||||
const result: ModelMessage[] = []
|
||||
for (let i = 0; i < msgs.length; i++) {
|
||||
const msg = msgs[i]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue