feat: add Requesty as an OpenAI-compatible LLM provider#201
Open
Thibaultjaigu wants to merge 1 commit into
Open
feat: add Requesty as an OpenAI-compatible LLM provider#201Thibaultjaigu wants to merge 1 commit into
Thibaultjaigu wants to merge 1 commit into
Conversation
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.
Summary
Adds Requesty as a native, OpenAI-compatible LLM provider, mirroring the existing OpenRouter integration as closely as possible.
Requesty is an OpenAI-compatible LLM gateway:
https://router.requesty.ai/v1Authorization: Bearer <REQUESTY_API_KEY>provider/model(e.g.openai/gpt-4o-mini), same convention as OpenRouterWiring sites (parallel to
openrouter)packages/core/src/constants/models/providers.ts— newrequestyentry in the providers map (name: 'Requesty',baseURL: 'https://router.requesty.ai/v1'), placed right afteropenrouter.packages/config/src/schema.ts— added'requesty'to the provider union.packages/config/src/modelYaml.ts— env resolver now mapsrequesty→REQUESTY_API_KEY.packages/config/src/models/gpt5.ts—requestyadded to the expected-providers list and to the GPT-5 baseURL repair branch (https://router.requesty.ai/v1).apps/cli/src/ui/components/ModelSelector/useModelSelectorMenus.ts—requestyadded to the ranked provider list so it appears in the/modelselector.docs/develop/configuration.md— added a Requesty config example block and theREQUESTY_API_KEYenv var, parallel to the OpenRouter section..env.example— documentedREQUESTY_API_KEY.Verification
bun run typecheck(tsc --noEmit) passes clean.format:check+typecheck) passes.https://router.requesty.ai/v1/chat/completionswith modelopenai/gpt-4o-minireturned HTTP 200 with a valid completion.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.