Skip to content

SwiftOpenAI v3.9.3

Compare
Choose a tag to compare
@jamesrochabrun jamesrochabrun released this 17 Nov 06:00
· 4 commits to main since this release
c1be624

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

Full Changelog: v3.9.2...v3.9.3