James Netherton created CAMEL-22917:
---------------------------------------

             Summary: camel-openai: Enable default baseUrl option for 
https://api.openai.com/v1
                 Key: CAMEL-22917
                 URL: https://issues.apache.org/jira/browse/CAMEL-22917
             Project: Camel
          Issue Type: Improvement
            Reporter: James Netherton
            Assignee: James Netherton
             Fix For: 4.18.0


The component docs state "Set baseUrl to your provider’s endpoint 
(default:https://api.openai.com/v1).".

But the default is only configured internally in the OpenAIOkHttpClient if no 
baseUrl is set. And OpenAIEndpoint does not allow a null or empty baseUrl 
option to be provided, so the default is never applied. Meaning that you always 
have to explicitly provide a url.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to