Commit Graph

2 Commits

  • v3.8.4: Fix Freebuff DeepSeek V4 tool-call reasoning_content round-trip
    - Full reasoning round-trip: capture reasoning_content + tool_calls from
      stream, store by tool_call_id, reinsert before next FreeBuff POST
    - Primary path no longer disables thinking (FreeBuff doesn't forward the flag)
    - Fallback retry uses DeepSeek native {thinking:{type:'disabled'}} format
    - Replaced broken _fb_retry_no_reasoning + _fb_retry_stripped with
      single _fb_retry_thinking_disabled
    - New _ds_store_assistant(), _ds_rebuild_tool_history() functions
    - oa_stream_to_sse() now captures tool_calls in reasoning_out dict
    - Multi-turn Codex CLI sessions with function calls now complete successfully