From cbc3b228762c08b122bc0cc095e6cb65e459a54c Mon Sep 17 00:00:00 2001 From: Thibault Jaigu Date: Thu, 2 Jul 2026 09:58:49 +0100 Subject: [PATCH] Add Requesty as an LLM provider Mirror the existing OpenRouter provider to add Requesty (https://router.requesty.ai/v1), an OpenAI-compatible LLM router, in the LLMProviderSetup registry (the documented extension point). Registers a requesty provider config alongside the others. Signed-off-by: Thibault Jaigu --- Agent/Services/LLMProviderSetup.swift | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Agent/Services/LLMProviderSetup.swift b/Agent/Services/LLMProviderSetup.swift index d338c162..bde2de6d 100644 --- a/Agent/Services/LLMProviderSetup.swift +++ b/Agent/Services/LLMProviderSetup.swift @@ -7,7 +7,7 @@ enum LLMProviderSetup { static func registerAllProviders() { LLMRegistry.shared.registerAll([ - claude, codex, openAI, gemini, grok, mistral, codestral, vibe, deepSeek, huggingFace, miniMax, zAI, bigModel, qwen, openRouter, + claude, codex, openAI, gemini, grok, mistral, codestral, vibe, deepSeek, huggingFace, miniMax, zAI, bigModel, qwen, openRouter, requesty, ollama, localOllama, vLLM, lmStudio, appleIntelligence ]) } @@ -82,6 +82,16 @@ enum LLMProviderSetup { capabilities: [.streaming, .tools, .vision, .systemPrompt] ) + static let requesty = LLMProviderConfig( + id: "requesty", displayName: "Requesty", + kind: .cloudAPI, apiProtocol: .openAI, + endpoint: LLMEndpoint( + chatURL: "https://router.requesty.ai/v1/chat/completions", + modelsURL: "https://router.requesty.ai/v1/models" + ), + capabilities: [.streaming, .tools, .vision, .systemPrompt] + ) + static let miniMax = LLMProviderConfig( id: "miniMax", displayName: "MiniMax", kind: .cloudAPI, apiProtocol: .openAI,