Skip to content

Add Requesty as a provider#244

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

Add Requesty as a provider#244
Thibaultjaigu wants to merge 1 commit into
hydropix:mainfrom
Thibaultjaigu:add-requesty-provider

Conversation

@Thibaultjaigu

Copy link
Copy Markdown

Adds requesty as a first-class 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 via REQUESTY_API_KEY.

Changes:

  • benchmark/config.py: RequestyConfig dataclass mirroring OpenRouterConfig (endpoint https://router.requesty.ai/v1/chat/completions, default model openai/gpt-4o-mini — verified live) + aggregate config field + provider validation.
  • benchmark/translator.py: requesty provider label, _get_provider branch (via the OpenAI-compatible client), and test_requesty_translation_connection / get_available_requesty_models.
  • benchmark/runner.py, benchmark/cli.py: connection-test + model-listing dispatch, --requesty-key, and --provider requesty choice.
  • benchmark/aggregator.py, benchmark/schemas/*.json: requesty in cloud-providers + schema enums.
  • docs/BENCHMARK*.md, .env.example: REQUESTY_API_KEY docs.

ast.parse passes on all edited Python files; all schema JSON validates.

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