Skip to content

Conversation

@subtleGradient
Copy link
Member

Sync latest SDK changes from monorepo.

Exported via subtree-sync export.

OpenRouter Team added 2 commits December 13, 2025 02:43
GitOrigin-RevId: 94074033e15542b78c82f8a4fe721be656aeaaed
GitOrigin-RevId: 849282a42d3b2948d0ca0f7fd1427c31af709bbd
Copilot AI review requested due to automatic review settings January 9, 2026 19:20
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR syncs the latest SDK changes from the monorepo, primarily updating the OpenRouter Python SDK from version 0.0.22 to 0.0.17. The changes include:

  • Addition of new API parameters for image generation and multimodal support (image_config, modalities)
  • Removal of deprecated route parameter across multiple endpoints
  • Refactoring of provider preferences and sorting configurations into more structured types
  • Updates to provider names (removed "GoPomelo" and "Targon", added "Seed" and "Upstage")
  • Addition of new parameters like reasoning_effort and enhanced reasoning support
  • Updates to endpoint metrics with latency and throughput statistics
  • New plugin support for auto-router functionality

Reviewed changes

Copilot reviewed 118 out of 121 changed files in this pull request and generated no comments.

Show a summary per file
File Description
pyproject.toml, src/openrouter/_version.py Version downgrade from 0.0.22 to 0.0.17
uv.lock Lock file updated with new version and dependencies
src/openrouter/responses.py Added image_config and modalities parameters; removed route parameter
src/openrouter/parameters.py Changed provider type from operations-specific to components.ProviderName
src/openrouter/embeddings.py Updated provider type to use components.ProviderPreferences
src/openrouter/chat.py Added image_config and modalities support; updated route type
src/openrouter/components/*.py Multiple new component files for provider preferences, sorting, PDF parsing, web search, and percentile stats
src/openrouter/operations/*.py Refactored to use shared component types instead of operation-specific types
docs/* Comprehensive documentation updates matching code changes
.speakeasy/* Updated OpenAPI schema and generation configuration

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

OpenRouter Team and others added 3 commits January 9, 2026 19:35
GitOrigin-RevId: 0c3f0fb4be86f675ce6eca10edd2bd576c7d38d2
GitOrigin-RevId: 55335c8a1cc66e6e032e9075d6f6eea5d9fb9138
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