Skip to content

Add Requesty as a provider - #521

Open
Thibaultjaigu wants to merge 1 commit into
father-bot:mainfrom
Thibaultjaigu:add-requesty-provider
Open

Add Requesty as a provider#521
Thibaultjaigu wants to merge 1 commit into
father-bot:mainfrom
Thibaultjaigu:add-requesty-provider

Conversation

@Thibaultjaigu

Copy link
Copy Markdown

Adds Requesty as an OpenAI-compatible provider, mirroring the existing OpenRouter provider.

Requesty (https://requesty.ai) is an OpenAI-compatible LLM router — base URL https://router.requesty.ai/v1, provider/model naming, Authorization: Bearer auth.

Changes:

  • bot/config.py: requesty_api_key / requesty_api_base (default https://router.requesty.ai/v1).
  • config/config.example.yml: the requesty keys (comment links to https://app.requesty.ai/api-keys).
  • config/models.yml: two Requesty model entries (openai/gpt-4o, anthropic/claude-sonnet-4-5 — verified live), mirroring the OpenRouter entries.
  • bot/openai_utils.py: a requesty client (AsyncOpenAI with the requesty base URL) + the provider == "requesty" branch.
  • README.md: Requesty in the provider/config docs.

ast.parse + yaml.safe_load pass on the edited files.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant