Skip to content

feat: add Requesty as a config-driven provider#629

Open
Thibaultjaigu wants to merge 1 commit into
ValueCell-ai:mainfrom
Thibaultjaigu:feat/requesty-provider
Open

feat: add Requesty as a config-driven provider#629
Thibaultjaigu wants to merge 1 commit into
ValueCell-ai:mainfrom
Thibaultjaigu:feat/requesty-provider

Conversation

@Thibaultjaigu

Copy link
Copy Markdown

Adds Requesty as a config-driven provider, mirroring the existing OpenRouter provider. Requesty is an OpenAI-compatible LLM gateway that uses the same provider/model id convention (e.g. openai/gpt-4o-mini, anthropic/claude-sonnet-4-5).

Changes:

  • python/configs/providers/requesty.yaml — mirrors openrouter.yaml structure exactly (base URL https://router.requesty.ai/v1, REQUESTY_API_KEY, provider/model ids).
  • python/valuecell/adapters/models/factory.py — new RequestyProvider (OpenAI-compatible via OpenAILike, forwards HTTP-Referer/X-Title attribution headers) registered in the provider factory _providers map.
  • python/configs/config.yamlrequesty added to the provider registry; python/valuecell/config/manager.py — added to the auto-select preferred_order.
  • .env.exampleREQUESTY_API_KEY; docs/CONFIGURATION_GUIDE.md — Requesty documented in the provider table, file-tree, registry example, and priority-order list.
  • python/valuecell/config/tests/test_provider_config.py — tests validating requesty.yaml loads via the same loader/manager path as OpenRouter, resolves the env key, and registers in the factory.

Testing: config-loading tests pass (4 passed). Verified a live chat/completions round-trip against https://router.requesty.ai/v1 using provider/model naming and the attribution headers.

Note: the frontend provider→icon map (frontend/src/constants/icons.ts) was not edited because adding a requesty entry requires a logo asset I don't have — happy to add it if you can point me at the icon convention.

Docs: https://requesty.ai · https://docs.requesty.ai · https://app.requesty.ai/api-keys · https://app.requesty.ai/router/list

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.

Requesty is an OpenAI-compatible LLM gateway that uses the same provider/model
naming convention as OpenRouter, so this mirrors the existing OpenRouter provider.

- configs/providers/requesty.yaml mirroring openrouter.yaml (base URL
  https://router.requesty.ai/v1, REQUESTY_API_KEY, provider/model ids)
- RequestyProvider in adapters/models/factory.py (OpenAILike + attribution
  headers) registered in the provider factory
- requesty added to the config.yaml provider registry and the manager
  preferred_order
- REQUESTY_API_KEY in .env.example and Requesty documented in CONFIGURATION_GUIDE.md
- config-loading tests validating requesty.yaml loads via the same loader path

Signed-off-by: Thibault Jaigu <thibault.jaigu@gmail.com>
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