mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-22 10:14:22 +01:00
fix: ignore case when checking Qwen in model ID for todos (#2122)
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user