feat: add Requesty as a remote model provider#8326
Conversation
Mirror the existing OpenRouter provider registration: - add Requesty entry to web-app provider constants and capability maps - add provider logo, title, and identification headers - add Requesty docs page, nav entry, and redirect
Code Review: PR #8326 -- feat: add Requesty as a remote model providerOverviewThis PR adds Requesty (an OpenAI-compatible LLM gateway) as a new remote model provider, closely mirroring the existing OpenRouter provider pattern. The changes span 10 files across the web-app source and docs. CorrectnessProvider entry ( Capability flags ( Sampling caps ( Identification headers ( Logo and display ( Docs -- The Issues & Suggestions1. Duplicated header logic in
|
Summary
Adds Requesty as a remote model provider in Jan. Requesty is an OpenAI-compatible LLM gateway (base URL
https://router.requesty.ai/v1) that exposes models from multiple providers using theprovider/modelnaming convention — the same shape Jan already uses for OpenRouter.This change mirrors the existing OpenRouter provider registration. No new code paths were introduced; Requesty reuses the generic OpenAI-compatible request flow.
Changes
web-app/src/constants/providers.ts— add therequestyprovider entry (base_url, explore_models_url, api-key setting), mirroring the OpenRouter object.web-app/src/constants/models.ts— add therequestycapability flags entry.web-app/src/lib/providerCaps.ts— addREQUESTYsampling caps and register it.web-app/src/lib/ai-model.ts— send the sameHTTP-Referer/X-Titleidentification headers used for OpenRouter.web-app/src/lib/utils.ts— add provider logo path and display title (Requesty).web-app/public/images/model-provider/requesty.svg— placeholder logo. This is a generic "R" mark, not the official brand asset; maintainers are welcome to drop in the official Requesty logo.docs/src/pages/docs/desktop/remote-models/requesty.mdx— provider docs page mirroringopenrouter.mdx.docs/src/pages/docs/desktop/remote-models/_meta.json,docs/src/pages/docs/desktop/manage-models.mdx,docs/_redirects— docs nav entry, cloud-provider card, and redirect.Testing
Verified a live request against the Requesty endpoint with
POST https://router.requesty.ai/v1/chat/completions, modelopenai/gpt-4o-mini— returned HTTP 200 with a valid completion. This confirms the base URL, auth scheme, andprovider/modelnaming used in the provider entry are correct.A full monorepo install was not run locally, so I have not produced a UI screenshot. The edits are data/constant additions that match the existing OpenRouter entry's shape exactly; happy to add a screenshot if a maintainer can point me at the lightest way to build the web-app, or if you'd prefer I adjust anything.
Disclosure: I work at Requesty. This mirrors the existing OpenRouter provider entry; happy to adjust wording/placement or close if it's not a fit.