Add Requesty as a model provider#352
Open
Thibaultjaigu wants to merge 1 commit into
Open
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.
Adds Requesty as a model provider, mirroring the existing OpenRouter provider as closely as possible.
Requesty (https://requesty.ai) is an OpenAI-compatible LLM router — base URL
https://router.requesty.ai/v1,GET /v1/modelsfor model discovery,provider/modelnaming — so it uses the sameopenaiCompatibleTemplatewiring Dive already uses for OpenRouter.Changes (all in
src/atoms/interfaceState.tsunless noted):"requesty"to the provider lists (PROVIDERSandOPEAI_COMPATIBLE_PROVIDER).requesty: "Requesty") and icon map entry.requesty: openaiCompatibleTemplate("https://router.requesty.ai/v1")todefaultInterface, mirroring the OpenRouter line.types/model.d.ts:"requesty"added to the provider union.src/helper/model.ts: reverse-lookup case mapping the Requesty base URL back to the"requesty"provider, mirroring OpenRouter.public/image/model_requesty.svg: placeholder icon (a copy of the existing neutralmodel_openai_compatible.svgglyph — not a real Requesty logo). Happy to drop this or swap in the official logo if you'd prefer.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.