Skip to content

Add Requesty as an LLM provider#22

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

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

Conversation

@Thibaultjaigu

Copy link
Copy Markdown

Adds Requesty (https://requesty.ai) as a first-class OpenAI-compatible LLM provider, mirroring the existing OpenRouter provider end-to-end.

  • LLMProvider.swift: new .requesty case (all switches kept exhaustive).
  • Services/LLM/Providers/Requesty/: RequestyAPIClient / RequestyProvider / RequestyModel mirroring the OpenRouter package, base URL https://router.requesty.ai/v1. The models decoder maps Requesty's real /v1/models fields (context_window, boolean supports_tool_calling/supports_reasoning/supports_vision) with optional/defensive decoding.
  • LLMService.swift: registers RequestyProvider() in availableProviders.
  • Keychain (requesty_api_key), API validator, settings VM/View, and a new RequestyAPIKeyAlert mirroring the OpenRouter one.
  • README.md: setup docs.

swiftc -parse passes on all new/modified files; the project uses Xcode 16 synchronized folders, so the new files are auto-included in the target (no .pbxproj edit). The warning icon reuses a neutral SF Symbol (no relabeled logo). API keys: https://app.requesty.ai/api-keys

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.

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