SIGN IN SIGN UP

feat: add support for Anthropic thinking blocks

- Add proper handling of thinking blocks in non-stream translation
- Filter and combine thinking blocks with text blocks for OpenAI compatibility
- Update mapContent function to handle thinking blocks in both string and ContentPart formats
- Add comprehensive tests for thinking blocks with and without tool calls
- Since GitHub Copilot doesn't support thinking blocks natively, merge thinking content with text

Fixes #61
J
Josh Lane committed
0d3c786c8bf38bea0691c77c5bc3935bcdd2c165
Parent: d2a9e2d