Skip to content

fix: refactor reasoning algo#69

Open
galzilber wants to merge 9 commits intomainfrom
gz/clean-hub-reasoning
Open

fix: refactor reasoning algo#69
galzilber wants to merge 9 commits intomainfrom
gz/clean-hub-reasoning

Conversation

@galzilber
Copy link
Copy Markdown
Contributor

@galzilber galzilber commented Sep 7, 2025

Important

Refactor reasoning algorithm by consolidating handling across providers, reducing logging, and updating tests.

  • Behavior:
    • Consolidated inline reasoning handling across providers; payloads now use a separate reasoning_effort field and token limits are adjusted for provider-specific fields.
    • Reduced runtime logging related to reasoning across Anthropic, Azure, OpenAI, and Vertex AI.
    • Removed deprecated public helpers related to reasoning to simplify the API surface.
  • Tests:
    • Updated tests to validate reasoning transformation paths, token/effort behavior, and preservation of existing system messages.

This description was created by Ellipsis for 99148f4. You can customize this summary. It will automatically update as commits are pushed.


Summary by CodeRabbit

  • Refactor
    • Consolidated inline reasoning handling across providers; payloads now use a separate reasoning_effort field and token limits are adjusted for provider-specific fields.
    • Reduced runtime logging related to reasoning across Anthropic, Azure, OpenAI, and Vertex AI.
    • Removed deprecated public helpers related to reasoning to simplify the API surface.
  • Tests
    • Updated tests to validate reasoning transformation paths, token/effort behavior, and preservation of existing system messages.

Loading
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.

2 participants