mirror of
https://github.com/sst/opencode.git
synced 2025-08-22 14:04:07 +00:00
fix: ignore case when checking Qwen in model ID for todos (#2122)
This commit is contained in:
parent
6018364164
commit
dda672284c
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ export namespace ToolRegistry {
|
||||||
result["webfetch"] = false
|
result["webfetch"] = false
|
||||||
}
|
}
|
||||||
|
|
||||||
if (modelID.includes("qwen")) {
|
if (modelID.toLowerCase().includes("qwen")) {
|
||||||
result["todowrite"] = false
|
result["todowrite"] = false
|
||||||
result["todoread"] = false
|
result["todoread"] = false
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue