Skip to content

Add Requesty as an LLM provider - #46

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

Add Requesty as an LLM provider#46
Thibaultjaigu wants to merge 1 commit into
glebkudr:mainfrom
Thibaultjaigu:add-requesty-provider

Conversation

@Thibaultjaigu

Copy link
Copy Markdown

This adds Requesty as a provider, mirroring the existing OpenRouter provider.

Requesty (https://router.requesty.ai/v1) is an OpenAI-compatible LLM router, so the wiring follows the OpenRouter provider closely, including the manual Chat Completions path used for GPT-5-family models (reasoning.effort/text.verbosity).

Changes:

  • internal/llm/provider/requesty.go: new requestyProvider mirroring openRouterProvider (default base URL https://router.requesty.ai/v1, langchaingo OpenAI client + manual Chat Completions path for GPT-5-family models).
  • internal/llm/provider/provider.go: register requesty in the Factory.
  • internal/llm/provider/model_catalog.go: a Requesty model catalog.
  • app.go, llm_settings.go: LLMProviderRequesty constant, RequestyKey setting, and normalize/default-model/key/setter handling.
  • frontend/src/components/LlmSettingsModal.vue, frontend/wailsjs/go/models.ts: add Requesty to the provider selector and keep the settings binding in sync.
  • README.md: list Requesty alongside the other providers.

Model naming is provider/model (e.g. openai/gpt-4o-mini).

Verified: the internal/llm/provider package builds and vets cleanly, gofmt is clean on all changed Go files, and the full module builds+vets once the Wails frontend (frontend/dist) is present.

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.

Mirror the existing OpenRouter provider to add Requesty (https://router.requesty.ai/v1),
an OpenAI-compatible LLM router. Adds a dedicated "requesty" provider (SDK path plus the
manual Chat Completions path for GPT-5-family models), a model catalog, settings key,
provider selector in the settings UI, and documents it in the README.
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