🐫 CAMEL: The first and the best multi-agent framework. Finding the Scaling Law of Agents. https://www.camel-ai.org
Python agentai-societiesartificial-intelligencecommunicative-aicooperative-aideep-learninglarge-language-modelsmulti-agent-systemsnatural-language-processing
fix: update `n` type in OpenAI Model (#1168)
Wendong-Fan26be974a228c
diff --git a/camel/models/openai_model.py b/camel/models/openai_model.pyindex 02d228476..4ba5e8f78 100644--- a/camel/models/openai_model.py+++ b/camel/models/openai_model.py@@ -123,7 +123,7 @@ class OpenAIModel(BaseModelBackend):self.model_config_dict["temperature"] = 1.0self.model_config_dict["top_p"] = 1.0- self.model_config_dict["n"] = 1.0+ self.model_config_dict["n"] = 1self.model_config_dict["presence_penalty"] = 0.0self.model_config_dict["frequency_penalty"] = 0.0