mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-15 12:41:37 +03:00
fix: ignore case when checking Qwen in model ID for todos (#2122)
This commit is contained in:
committed by
GitHub
Unverified
parent
6018364164
commit
dda672284c
@@ -86,7 +86,7 @@ export namespace ToolRegistry {
|
||||
result["webfetch"] = false
|
||||
}
|
||||
|
||||
if (modelID.includes("qwen")) {
|
||||
if (modelID.toLowerCase().includes("qwen")) {
|
||||
result["todowrite"] = false
|
||||
result["todoread"] = false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user