Closed ZeyuTeng96 closed 3 days ago
For initializing the llm_async_client by user passed value(base_url、api_key、model)
we also need to pass the base_url info to AsyncOpenAI. Otherwise, we cannot initialize an llm_async_client with a customized oai-api like service.
This commit just passing the base_utl to AsyncOpenAI
Thanks for this, I completelty missed that :( I also added it to the embedder
For initializing the llm_async_client by user passed value(base_url、api_key、model)
we also need to pass the base_url info to AsyncOpenAI. Otherwise, we cannot initialize an llm_async_client with a customized oai-api like service.
This commit just passing the base_utl to AsyncOpenAI