fix: litellm Function calling error.

This commit is contained in:
刘棒棒 2023-10-07 16:22:44 +08:00
parent e822093465
commit f221e31db1

View file

@ -41,7 +41,7 @@ class OpenCodeInterpreter(object):
interpreter.auto_run = auto_run
interpreter.model = CONFIG.openai_api_model or "gpt-3.5-turbo"
interpreter.api_key = CONFIG.openai_api_key
interpreter.api_base = CONFIG.openai_api_base
# interpreter.api_base = CONFIG.openai_api_base
self.interpreter = interpreter
def chat(self, query: str, reset: bool = True):