feat: add Requesty as an OpenAI-compatible LLM provider#516
Open
Thibaultjaigu wants to merge 1 commit into
Open
feat: add Requesty as an OpenAI-compatible LLM provider#516Thibaultjaigu wants to merge 1 commit into
Thibaultjaigu wants to merge 1 commit into
Conversation
|
@Thibaultjaigu is attempting to deploy a commit to the Raphael's projects Team on Vercel. A member of the Team first needs to authorize it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this adds
Adds a
requestyprovider entry mirroring the existingopenrouterentry:https://router.requesty.ai/v1REQUESTY_API_KEYprovider/modelnaming (e.g.openai/gpt-4o-mini), same convention as OpenRouterChanges
sdk/src/openagents/config/llm_configs.pyREQUESTY = "requesty"added to theLLMProviderTypeenum next toOPENROUTERrequestyentry added toMODEL_CONFIGSwithprovider: generic, the base URL, andAPI_KEY_ENV_VAR"requesty"added to the generic-provider list so its predefinedapi_baseis usedREADME.md— addedrequestyto the acceptedAIDER_PROVIDERvalues and a table rowllms.txt— added arequestyprovider table rowTesting
Ran a live chat completion against
https://router.requesty.ai/v1/chat/completionswith modelopenai/gpt-4o-miniand got an HTTP 200 with a valid completion. Also imported the modified module and confirmedLLMProviderType.REQUESTYandMODEL_CONFIGS["requesty"]resolve as expected.Links
I work at Requesty. This mirrors the existing OpenRouter provider as closely as possible. Happy to adjust or close it if it's not a fit.