Skip to content

feat: add Requesty provider to the catalog - #623

Open
Thibaultjaigu wants to merge 2 commits into
OpenBMB:mainfrom
Thibaultjaigu:add-requesty-provider
Open

Thibaultjaigu wants to merge 2 commits into
OpenBMB:mainfrom
Thibaultjaigu:add-requesty-provider

Conversation

@Thibaultjaigu

Copy link
Copy Markdown

Summary

Adds Requesty, an OpenAI compatible gateway, as a catalog provider next to OpenRouter so it can be picked in Settings and configured with just REQUESTY_API_KEY.

Changes

  • src/model/catalog/providers.ts: requesty entry mirroring openrouter (https://router.requesty.ai/v1, REQUESTY_API_KEY, no built in models, cross provider lookup).
  • ui/src/shared/catalogProviders.ts: matching Web UI entry with four seed models whose ids, context windows and output caps come from the live /v1/models list; the model picker still fetches the full list from the default URL.
  • ui/server/services/pilotdeckConfig.js: default URL so a config without url validates, as for OpenRouter.
  • Tests in parseModelConfig.spec.ts and catalogProviders.test.ts.

Validation

  • node --import tsx --test "tests/model/**/*.spec.ts" "tests/model/**/*.test.ts": 105 pass.
  • npx vitest run in ui/ on catalogProviders, config route, onboarding route, pilotdeckConfig, configurationRegression, ModelsSection and ProviderCard: 211 pass. Root tsc --noEmit and eslint on the touched UI files are clean; ui typecheck shows the same 513 JSX type errors as a clean main checkout here, none in these files.
  • Live with a throwaway test on openai/gpt-4o-mini: complete and streamModel through the parsed config both replied "pong", and POST /api/config/models for requesty returned 733 models keyless and 778 with the env key.

Disclosure: I work at Requesty. Happy to adjust anything to match project conventions.

Requesty is an OpenAI compatible gateway. Like OpenRouter it ships no built in models and resolves capabilities through the cross provider lookup, reading its key from REQUESTY_API_KEY.
Mirror the OpenRouter entry in the Web UI catalog with a short seed list checked against the live Requesty model list, and accept a Requesty provider without an explicit url like the other catalog providers.
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