Skip to content

Commit 65a4498

Browse files
committed
revert in shouldAutoEnableSystemMessageTools
1 parent d1d9280 commit 65a4498

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

core/config/shouldAutoEnableSystemMessageTools.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,9 @@ import { ModelDescription } from "../index.d";
2121
export function shouldAutoEnableSystemMessageTools(
2222
model: ModelDescription,
2323
): boolean | undefined {
24-
// Auto-enable for OpenRouter, but exclude Claude/KimiK2 models which have good native tool calling
24+
// Auto-enable for OpenRouter, but exclude Claude models which have good native tool calling
2525
if (model.provider === "openrouter") {
26-
return (
27-
!model.model.toLowerCase().includes("claude") &&
28-
!model.model.toLowerCase().includes("kimi-k2")
29-
);
26+
return !model.model.toLowerCase().includes("claude");
3027
}
3128

3229
// No auto-preference for all other providers - use manual setting

0 commit comments

Comments
 (0)