Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewAI empowers agents to work together seamlessly, tackling complex tasks.
chore: load json tool input before console output
Vidit Ostwalf589ab9b8026
diff --git a/src/crewai/events/utils/console_formatter.py b/src/crewai/events/utils/console_formatter.pyindex d2418c73e..c76853d02 100644--- a/src/crewai/events/utils/console_formatter.py+++ b/src/crewai/events/utils/console_formatter.py@@ -1377,7 +1377,7 @@ class ConsoleFormatter:if isinstance(formatted_answer, AgentAction):thought = re.sub(r"\n+", "\n", formatted_answer.thought)formatted_json = json.dumps(- formatted_answer.tool_input,+ json.loads(formatted_answer.tool_input),indent=2,ensure_ascii=False,)