co-mono/packages
Willi Ballenthin fb364c89bf fix(ai): handle call arguments done on OpenAI-compatible endpoints
fix bug encountered when running GLM-4.7-Flash hosted by LM Studio, in
which the provider sends tool call arguments via
`response.function_call_arguments.done` events instead of streaming them
via `response.function_call_arguments.delta` events. The final
`response.output_item.done` event then contains empty `{}` arguments.
The code only handled delta events, so tool calls failed with validation
errors like `"must have required property 'command'"`.

Full disclosure, Opus triaged the bug and provided the fix (by adding
logging statements to the req/resp to the upstream provider (LM
Studio)). I'm to provide prompts/transcripts, and acknowledge that I'm
not an expert in Pi internals at this time.
2026-01-23 13:48:54 +01:00
..
agent Add [Unreleased] section for next cycle 2026-01-22 01:43:26 +01:00
ai fix(ai): handle call arguments done on OpenAI-compatible endpoints 2026-01-23 13:48:54 +01:00
coding-agent fix(coding-agent): only list built-in tools in system prompt 2026-01-23 00:54:30 +01:00
mom fix: use portable shebang in shell scripts 2026-01-22 21:44:39 +01:00
pods Release v0.49.3 2026-01-22 01:42:43 +01:00
tui fix(tui): gate slash menu to empty input 2026-01-22 23:12:33 +01:00
web-ui Add [Unreleased] section for next cycle 2026-01-22 01:43:26 +01:00