Skip to content

🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming

fix: litellm Function calling error.

刘棒棒f221e31db11e
diff --git a/metagpt/tools/code_interpreter.py b/metagpt/tools/code_interpreter.py
index 97398ccfd..231904c1a 100644
--- a/metagpt/tools/code_interpreter.py
+++ b/metagpt/tools/code_interpreter.py
@@ -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):