Files
proxy-bun/src
Asep Haryana SaputraandGitHub c8ec62c345 fix: unwrap double-nested opencode.ai + handle reasoning_content in Anthropic handler
Two fixes for deepseek-v4-flash-free via Anthropic protocol:

1. **Non-streaming**: Apply config.adaptResponse to unwrap double-nested opencode.ai JSON response before backendToAnthropicResponse
2. **Streaming**: Extract delta.reasoning_content from DeepSeek SSE chunks wrapped in <thinking> tags

All tests pass, verified locally with both streaming and non-streaming.
2026-06-25 01:22:40 +07:00
..