SwiftOpenAI v3.9.3
Support for additional parameters, users now can use open router.
let service = OpenAIServiceFactory.service(
apikey: "${OPENROUTER_API_KEY}",
baseURL: "https://openrouter.ai",
proxyPath: "api"
headers: ["HTTP-Referer": "${YOUR_SITE_URL}", "X-Title": "${YOUR_SITE_NAME}")
What's Changed
- Adding additional parameters in API. by @jamesrochabrun in #101
Full Changelog: v3.9.2...v3.9.3