fix(opencode): use toLowerCase for Devstral model detection (#33109)
Co-authored-by: Robin1987China <fanrenzhige@163.com>
This commit is contained in:
@@ -218,7 +218,7 @@ function normalizeMessages(
|
|||||||
if (
|
if (
|
||||||
model.providerID === "mistral" ||
|
model.providerID === "mistral" ||
|
||||||
model.api.id.toLowerCase().includes("mistral") ||
|
model.api.id.toLowerCase().includes("mistral") ||
|
||||||
model.api.id.toLocaleLowerCase().includes("devstral")
|
model.api.id.toLowerCase().includes("devstral")
|
||||||
) {
|
) {
|
||||||
const scrub = (id: string) => {
|
const scrub = (id: string) => {
|
||||||
return id
|
return id
|
||||||
|
|||||||
Reference in New Issue
Block a user