Skip to content

Add Requesty as a provider - #347

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

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

Conversation

@Thibaultjaigu

Copy link
Copy Markdown

Adds Requesty as a provider, mirroring the existing OpenRouter provider end-to-end.

Requesty (https://requesty.ai) is an OpenAI-compatible LLM router — base URL https://router.requesty.ai/v1, provider/model naming, Authorization: Bearer auth. It reuses the same OpenAI-compatible chat-client path OpenRouter uses.

Changes:

  • Models/Providers/Provider.cs: Requesty enum member.
  • Models/Providers/Requesty/RequestyConfiguration.cs (new): IProviderConfiguration mirroring OpenRouterConfiguration (BaseAddress = https://router.requesty.ai/v1, DefaultModel = openai/gpt-4o-mini).
  • Models/ServiceCollectionExtensions.cs: AddRequestyChatClient() via the OpenAI-compatible client (mirrors OpenRouter).
  • Users/Entitlement.cs + Users/Models/Entitlements.cs: EnableRequestyProvider.
  • AddIn/CellmAddIn.cs, AddIn/UserInterface/Ribbon/RibbonModelGroup.cs: config binding, HTTP client, provider list, ribbon base-address case.
  • appsettings.json: RequestyConfiguration section (verified model ids).
  • Cellm.csproj: embeds Requesty.svg.
  • AddIn/UserInterface/Resources/Requesty.svg (new): placeholder icon (neutral glyph, not a Requesty logo) — happy to swap for the official mark.
  • Tests: added Requesty to the unit pipeline (mock client) and the integration fixture helpers; left the live-key integration Theories untouched (Requesty isn't in CI secrets, matching how OpenRouter is gated).

Note: I couldn't run dotnet build locally (net9.0-windows / WinForms target on a non-Windows machine), so this hasn't been compiled here — please give it a build. Every reference was mirrored 1:1 against OpenRouter.

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.

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

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.

2 participants