You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I need to use OpenAI models with the base_url param, but simply putting OPENAI_API_KEY in the .env file doesn't work because the function create_chat_completion in the gpt-researcher\gpt_researcher\utils\llm.py doesn't support this param. And your code for the OpenAI embedding model supports this param.
Describe the solution you'd like
Add support for the base_url param in the func create_chat_completion, which reads the base_url param from the .env file like above.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I need to use OpenAI models with the
base_url
param, but simply puttingOPENAI_API_KEY
in the.env
file doesn't work because the functioncreate_chat_completion
in thegpt-researcher\gpt_researcher\utils\llm.py
doesn't support this param. And your code for the OpenAI embedding model supports this param.Describe the solution you'd like
Add support for the
base_url
param in the funccreate_chat_completion
, which reads thebase_url
param from the.env
file like above.The text was updated successfully, but these errors were encountered: