Skip to content

Commit babe507

Browse files
fix(opencode): use toLowerCase for Devstral model detection (#33109)
Co-authored-by: Robin1987China <fanrenzhige@163.com>
1 parent 009f379 commit babe507

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/opencode/src/provider/transform.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ function normalizeMessages(
218218
if (
219219
model.providerID === "mistral" ||
220220
model.api.id.toLowerCase().includes("mistral") ||
221-
model.api.id.toLocaleLowerCase().includes("devstral")
221+
model.api.id.toLowerCase().includes("devstral")
222222
) {
223223
const scrub = (id: string) => {
224224
return id

0 commit comments

Comments
 (0)