mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-03-29 21:33:54 +00:00
tweak: reenable todowrite & todoread for qwen models (#2499)
This commit is contained in:
parent
d8fd7b155f
commit
1cea8b9e77
@ -68,7 +68,7 @@ export namespace ToolRegistry {
|
||||
|
||||
export async function enabled(
|
||||
_providerID: string,
|
||||
modelID: string,
|
||||
_modelID: string,
|
||||
agent: Agent.Info,
|
||||
): Promise<Record<string, boolean>> {
|
||||
const result: Record<string, boolean> = {}
|
||||
@ -86,11 +86,6 @@ export namespace ToolRegistry {
|
||||
result["webfetch"] = false
|
||||
}
|
||||
|
||||
if (modelID.toLowerCase().includes("qwen")) {
|
||||
result["todowrite"] = false
|
||||
result["todoread"] = false
|
||||
}
|
||||
|
||||
return result
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user