Skip to content

feat: Add OpenRouter provider support (#44)#47

Open
AffanShaikhsurab wants to merge 1 commit intodhanji:mainfrom
AffanShaikhsurab:feature/openrouter-support
Open

feat: Add OpenRouter provider support (#44)#47
AffanShaikhsurab wants to merge 1 commit intodhanji:mainfrom
AffanShaikhsurab:feature/openrouter-support

Conversation

@AffanShaikhsurab
Copy link
Copy Markdown

  • Implement OpenRouterProvider following OpenAI-compatible API pattern
  • Add provider routing preferences for fine-grained control
  • Support HTTP-Referer and X-Title headers for analytics
  • Add comprehensive integration and unit tests (12 tests total)
  • Update config.example.toml with OpenRouter configuration
  • Export ProviderPreferences for external use

Closes #44

- Implement OpenRouterProvider following OpenAI-compatible API pattern
- Add provider routing preferences for fine-grained control
- Support HTTP-Referer and X-Title headers for analytics
- Add comprehensive integration and unit tests (12 tests total)
- Update config.example.toml with OpenRouter configuration
- Export ProviderPreferences for external use

Closes dhanji#44
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.

OpenRouter support

1 participant