Skip to content

Add Requesty as an API service provider#155

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

Add Requesty as an API service provider#155
Thibaultjaigu wants to merge 1 commit into
Renset:mainfrom
Thibaultjaigu:add-requesty-provider

Conversation

@Thibaultjaigu

Copy link
Copy Markdown

This adds Requesty as an API service provider, mirroring the existing OpenRouter provider.

Requesty (https://router.requesty.ai/v1) is an OpenAI-compatible LLM router, so it reuses the OpenAI-compatible handler.

Changes:

  • AppConstants.swift: a requesty entry in defaultApiConfigurations (+ added to apiTypes), verified default model openai/gpt-4o-mini.
  • APIServiceTemplates.json (+ the fallback JSON in APIServiceTemplateProvider.swift): a Requesty template mirroring OpenRouter.
  • APIServiceFactory.swift: case "requesty" reusing OpenRouterHandler (identical OpenAI-compatible wire format).
  • a logo_requesty imageset. Note: the logo is a neutral placeholder — happy to swap in the real Requesty asset or drop it.

Verified: the templates JSON parses; the handler reuse is URL-driven (base URL comes from config).

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 the default API configuration, service template,
and factory case (reusing the OpenAI-compatible handler), plus a logo imageset.

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