Alex Schapiro
b861413d10
fix(toolchoice): default required tool choice on OpenAI-compatible custom endpoints
...
Reasoning models on OpenAI-compatible custom endpoints (e.g. GLM / Kimi)
often reason and reply with prose instead of emitting native tool calls
under the default auto tool choice, stalling the tool-driven scan loop
while burning tokens. Default force_required_tool_choice to auto (None):
enable tool_choice=required when an api_base is set (still gated to
models that accept it), off otherwise. Explicit 0/1 overrides.
2026-07-29 03:27:40 +00:00
..
2026-06-22 11:17:08 -04:00
2026-07-26 14:42:22 -07:00
2026-07-11 23:58:51 -04:00
2026-07-24 15:41:19 -07:00
2026-07-06 23:33:08 -04:00
2026-07-27 12:34:26 -07:00
2026-07-24 15:41:19 -07:00
2026-07-26 14:39:41 -07:00
2026-07-26 14:38:12 -07:00
2026-07-26 14:39:41 -07:00
2026-07-28 16:36:12 +00:00
2026-07-25 06:29:39 -07:00
2026-07-10 00:13:35 -04:00
2026-07-26 20:37:14 -07:00
2026-07-26 16:23:31 -07:00
2026-07-27 16:28:48 -07:00
2026-07-26 13:11:14 -07:00
2026-07-26 20:37:14 -07:00
2026-07-29 03:27:40 +00:00
2026-07-26 16:27:02 -07:00
2026-07-26 14:05:53 -07:00
2026-07-25 05:45:31 -07:00
2026-07-06 23:33:08 -04:00
2026-07-24 15:41:19 -07:00
2026-07-24 15:41:19 -07:00
2026-07-26 14:05:53 -07:00
2026-07-07 10:24:49 -04:00
2026-07-26 14:42:22 -07:00
2026-07-10 07:21:47 -07:00
2026-07-20 21:56:34 -04:00
2026-07-06 03:50:02 -07:00
2026-07-26 13:11:14 -07:00
2026-07-25 13:09:57 -07:00
2026-07-12 17:31:49 -07:00
2026-07-29 03:27:40 +00:00
2026-07-29 03:27:40 +00:00
2026-07-06 21:19:53 -04:00
2026-07-03 10:43:31 -04:00
2026-07-14 17:40:23 -04:00
2026-07-12 12:05:58 -04:00
2026-07-10 09:41:18 -04:00
2026-07-26 16:27:02 -07:00
2026-07-24 15:41:19 -07:00
2026-07-26 13:11:14 -07:00
2026-07-26 13:11:14 -07:00
2026-07-27 20:37:54 -04:00