[
https://issues.apache.org/jira/browse/CAMEL-22917?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
James Netherton resolved CAMEL-22917.
-------------------------------------
Resolution: Fixed
> 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
> Components: camel-ai
> Reporter: James Netherton
> Assignee: James Netherton
> Priority: Minor
> 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)