Skip to content

Conversation

@jamesrochabrun
Copy link
Owner

Consumers now can pass additional parameters in to the request. e.g 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}")

@jamesrochabrun jamesrochabrun merged commit c1be624 into main Nov 17, 2024
@jamesrochabrun jamesrochabrun deleted the jroch-open-router branch November 17, 2024 05:59
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