koboldcpp/tests
Jae Bird 1f6860e638
Honor Anthropic tool_choice auto and any in /v1/messages (#2571)
Anthropic sends tool_choice as an object. The Anthropic branch passed it
through to the chat path, which treats any object as a named tool. With
{"type":"auto"} the model was never asked whether a tool is needed: a
single tool was always called, and with several tools none was. With
{"type":"any"} and several tools, no tool was called at all.

Map auto, any and none to the OpenAI strings before delegating.
{"type":"tool","name":...} already works and is left alone.
2026-10-29 22:27:27 +08:00
..
test-chat-analysis.cpp chat: replace output string with parts (#30389) 2026-10-14 01:03:56 +02:00
test-metal-graph-optimize.cpp metal : few-row MMA mat-mul (#29869) 2026-10-05 08:29:13 +03:00
test_anthropic_tool_choice.py Honor Anthropic tool_choice auto and any in /v1/messages (#2571) 2026-10-29 22:27:27 +08:00
test_autoguess.py Adapter fixes (#1659) 2025-08-10 16:19:50 +08:00
test_koboldcpp.py improved lora dir selection via gui 2026-05-02 10:51:35 +08:00
test_numeric_parsing.py use shared timeout for reqtimeout, sanitize values 2026-10-12 23:24:50 +08:00