fix: ignore case when checking Qwen in model ID for todos (#2122)

This commit is contained in:
Vincent Bernat 2025-08-20 21:44:27 +02:00 committed by GitHub
parent 6018364164
commit dda672284c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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
} }