-
-
Notifications
You must be signed in to change notification settings - Fork 112
[Platform][OpenRouter] Add Embeddings incl. example, fill Model catalog #844
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
[Platform][OpenRouter] Add Embeddings incl. example, fill Model catalog #844
Conversation
…log, add errors in result converter
src/platform/src/Bridge/OpenRouter/Completions/ResultConverter.php
Outdated
Show resolved
Hide resolved
| // In case free is running into 429 rate limit errors, you can use the paid model: | ||
| // $model = 'google/gemini-2.0-flash-lite-001'; | ||
| $model = 'google/gemini-2.0-flash-exp:free'; | ||
| // In case free is running into 429 rate limit errors (note: it is a 404 error code in openrouter api), you can use the paid model: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if 429 is not accurate, just adopt it
| // In case free is running into 429 rate limit errors (note: it is a 404 error code in openrouter api), you can use the paid model: | |
| // In case free is running into 404 errors, you can use the paid model: |
| // Models are dynamically available and identified by provider/model format | ||
| // Capabilities are not set in this model catalog | ||
|
|
||
| // Modelle |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| // Modelle | |
| // Models |
chr-hertel
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Happy to see openrouter get some attention - thanks for that 🙏
Left some minor comments, but close for merging 👍
This commit adds openrouter.ai features: