Skip to content

Conversation

@yte121
Copy link

@yte121 yte121 commented Aug 14, 2025

This commit introduces OpenRouter as a new model provider.

Changes include:

  • Real-time fetching of all OpenRouter models.
  • API key rotation for OpenRouter API keys to handle 429 errors.
  • Integration with the existing model management system.
  • A new ChatOpenRouter class to handle chat completions with OpenRouter.

I was unable to run the tests due to issues with the yarn setup. Further testing is required to ensure the provider works as expected.

This commit introduces OpenRouter as a new model provider.

Changes include:
- Real-time fetching of all OpenRouter models.
- API key rotation for OpenRouter API keys to handle 429 errors.
- Integration with the existing model management system.
- A new `ChatOpenRouter` class to handle chat completions with OpenRouter.

I was unable to run the tests due to issues with the yarn setup. Further testing is required to ensure the provider works as expected.
@vercel
Copy link

vercel bot commented Aug 14, 2025

@google-labs-jules[bot] is attempting to deploy a commit to the LangChain Team on Vercel.

A member of the Team first needs to authorize it.

Here is a summary of the changes:
- Real-time fetching of all OpenRouter models.
- API key rotation for OpenRouter API keys to handle 429 errors.
- Integration with the existing model management system.
- A new `ChatOpenRouter` class to handle chat completions with OpenRouter.
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