feat(ai): add Requesty provider - #806
Open
Thibaultjaigu wants to merge 1 commit into
Open
Thibaultjaigu wants to merge 1 commit into
Thibaultjaigu wants to merge 1 commit into
Conversation
This branch has not been deployed
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
https://router.requesty.ai/v1(no /v1 auto-append, same as OpenRouter)router.eu.requesty.ai) when importing provider settingsSame footprint as the Atlas Cloud provider (#621):
AIProviderType,PROVIDER_CONFIGS,detectProviderFromUrl, the four provider lists, and URL helper tests.How to test
openai/gpt-4o-miniValidation
vitest run src/utils/api.test.ts: 19 passedtsc --noEmit: one existing error insrc/reader/justified-text.test.ts, unrelated to this diffbiome checkon the touched files: same diagnostics as onmain, none on the added linesgit diff --checkbuildProviderModelsUrl,testAIEndpointandcreateChatModelFromEndpoint: model list 200 (762 models), connection test OK, chat withopenai/gpt-4o-minireturned the expected replyOne note: the connection test sends
max_tokens: 4, and OpenAI models behind Requesty require at least 16, so testing the connection with an OpenAI model returns a 400 while chat works fine. Testing with another model (for examplegoogle/gemini-2.5-flash) passes. I left the shared test request unchanged.No README, public docs, logo, dependency, or lockfile changes. The desktop and mobile apps were not built locally; the app edits are one line list entries.
Disclosure: I work at Requesty. Happy to adjust anything to match project conventions.