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
When I use an OpenAI Compatible Endpoint, I get an error 'OpenAITextGenerator.init() got an unexpected keyword argument 'api_base''
How should I handle this error
The text was updated successfully, but these errors were encountered:
Less Bad Way: Edit OpenAITextGenerator class definition (openai_textgen.py) as follows:
In def init()
ADD base_url: str = None,
In self.client_args ={}
ADD "base_url": base_url,
The Really Bad Way got past the initial error but created new problems. The Less Bad Way worked with no errors. I am not a professional and welcome feedback/instruction on how to craft a more appropriate comment.
When I use an OpenAI Compatible Endpoint, I get an error 'OpenAITextGenerator.init() got an unexpected keyword argument 'api_base''
How should I handle this error
The text was updated successfully, but these errors were encountered: