Commit Graph

8 Commits

Author SHA1 Message Date
Jeffrey Morgan 9cf8ef9371
tools: fix parsing tool calls with empty arguments, missing required fields (#11233) 2025-12-29 06:39:39 -06:00
Jeffrey Morgan 829e77105a
tools: return empty arguments object instead of null (#11113) 2025-12-29 06:38:16 -06:00
Jeffrey Morgan 1dc12706c5
tools: fix parsing tool calls without any parameters (#11101)
Fixes issue where tool calls that don't expect any parameters were
not being parsed. This also fixes two additional issues: one where
2+ tool calls would not be correctly parsed, and cases where tool calls
with invalid parameters would still get parsed
2025-12-29 06:38:15 -06:00
Jeffrey Morgan 2d86651985
tools: loosen tool parsing to allow for more formats (#11030) 2025-12-29 06:38:14 -06:00
Parth Sareen b43f6b223c
tools: resiliency upgrade to name and arg extraction from template (#10917) 2025-12-29 06:38:10 -06:00
Parth Sareen 75e3b372a1
tools: relax JSON parse constraints for tool calling (#10872) 2025-12-29 06:38:09 -06:00
Parth Sareen 951b332cd2
tools: remove newline stripping (#10869) 2025-12-29 06:38:08 -06:00
Parth Sareen 8cd2b6478e
tools: refactor tool call parsing and enable streaming (#10415) 2025-12-29 06:38:07 -06:00