🐫 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
chore: explicit model usage warnings for workforce (#2065)
JINO ROHITe76ed649a1bf
diff --git a/camel/agents/chat_agent.py b/camel/agents/chat_agent.pyindex b79a49771..38b98b4e1 100644--- a/camel/agents/chat_agent.py+++ b/camel/agents/chat_agent.py@@ -526,6 +526,10 @@ class ChatAgent(BaseAgent):message.content = response.output_messages[0].contentif not self._try_format_message(message, response_format):logger.warning(f"Failed to parse response: {message.content}")+ logger.warning(+ "To improve reliability, consider using models "+ "that are better equipped to handle structured output"+ )async def _aformat_response_if_needed(self,