Skip to content

v0.9.2

Latest

Choose a tag to compare

@github-actions github-actions released this 06 Oct 03:53
· 5 commits to main since this release
abadae1

Added

  • Thinking-mode tool-call recovery — reasoning models (DeepSeek-R1,
    Qwen 2.5/3, GLM) frequently emit tool-call JSON inside the content
    channel instead of the structured tool_calls field. acp-bridge
    previously treated such responses as a final text answer, meaning the
    agent never dispatched the requested tool and the session stalled.
    The engine now sanitizes the reasoning scaffolding
    (strip_thinking_blocks) and recovers embedded tool-call JSON —
    fenced ```json / ```tool_call blocks, bare balanced objects with
    name + arguments/args/parameters/input, or the whole-call
    {"function": {…}} shape — reproducing the OpenAI-style tool_call
    objects the structured path would have produced. Recovered rounds
    continue the normal agentic loop and are logged for debugging.
    Eleven new unit tests (thinking_recovery_tests). Project page:
    wchung.tw/acp-bridge/.