We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cadc598 commit 5cc44c8Copy full SHA for 5cc44c8
1 file changed
packages/opencode/src/tool/registry.ts
@@ -68,7 +68,7 @@ export namespace ToolRegistry {
68
69
export async function enabled(
70
_providerID: string,
71
- _modelID: string,
+ modelID: string,
72
agent: Agent.Info,
73
): Promise<Record<string, boolean>> {
74
const result: Record<string, boolean> = {}
@@ -86,6 +86,11 @@ export namespace ToolRegistry {
86
result["webfetch"] = false
87
}
88
89
+ if (modelID.includes("qwen")) {
90
+ result["todowrite"] = false
91
+ result["todoread"] = false
92
+ }
93
+
94
return result
95
96
0 commit comments