Add Requesty as an LLM provider#71
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 an LLM/embedding provider alongside the existing OpenRouter and Ollama integrations.
Requesty (https://router.requesty.ai/v1) is an OpenAI-compatible router, so the integration mirrors the existing OpenRouter provider:
RequestyClient/RequestyClientManagerinserver/integrations/requesty.py(async httpx client,Bearer REQUESTY_API_KEYauth, sameprovider/modelnaming e.g.openai/gpt-4.1-mini, same JSON-extraction helpers).verify_api_keyuses the OpenAI-compatible/modelsendpoint.integrations/__init__.pyexports,config/settings.py(LLM_PROVIDER=requesty,REQUESTY_BASE_URL, default https://router.requesty.ai/v1), and thehttp_serverclient-manager factory +/api/auth/registervalidation branch.SKILL/simplemem-skill/src/utils/requesty.py) andreferences/requesty-guide.mdmirroring the OpenRouter skill files..env.example, README, and the skill READMEs.MCP/+SKILL/trees and theirsimplemem/integrations/mirrors to keep them in sync.Set
LLM_PROVIDER=requestyand register with a Requesty API key (https://app.requesty.ai/api-keys) to use it. Docs: https://docs.requesty.aiVerification:
py_compilepasses on all new/edited Python files.RequestyClient:verify_api_key()returned True, andchat_completion(openai/gpt-4o-mini)returned "ok".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.