Skip to content

Conversation

@ArthurConmy
Copy link

To be clear, this is ~100% 🤖 Generated with Claude Code

OpenRouter returns reasoning traces from models like DeepSeek-R1, o1, Qwen-thinking in a separate reasoning field on the message. This adds:

  • New reasoning: str | None field to LLMResponse
  • Extraction of reasoning from OpenRouter responses
  • Passing reasoning through to all LLMResponse constructors

OpenRouter returns reasoning traces from models like DeepSeek-R1, o1, Qwen-thinking
in a separate `reasoning` field on the message. This adds:

- New `reasoning: str | None` field to LLMResponse
- Extraction of reasoning from OpenRouter responses
- Passing reasoning through to all LLMResponse constructors

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant