From 8e3af7625263bdb7c628f80ca914c608d2072033 Mon Sep 17 00:00:00 2001 From: Brandon Hancock Date: Mon, 17 Mar 2025 11:50:06 -0400 Subject: [PATCH] WIP --- src/crewai/lite_agent.py | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/crewai/lite_agent.py b/src/crewai/lite_agent.py index d620599f5..32e3398de 100644 --- a/src/crewai/lite_agent.py +++ b/src/crewai/lite_agent.py @@ -120,21 +120,21 @@ class LiteAgent(BaseModel): """Get the default system prompt for the agent.""" prompt = f"""You are a helpful AI assistant acting as {self.role}. -Your goal is: {self.goal} + Your goal is: {self.goal} -Your backstory: {self.backstory} + Your backstory: {self.backstory} -When using tools, follow this format: -Thought: I need to use a tool to help with this task. -Action: tool_name -Action Input: {{ - "parameter1": "value1", - "parameter2": "value2" -}} -Observation: [Result of the tool execution] + When using tools, follow this format: + Thought: I need to use a tool to help with this task. + Action: tool_name + Action Input: {{ + "parameter1": "value1", + "parameter2": "value2" + }} + Observation: [Result of the tool execution] -When you have the final answer, respond directly without the above format. -""" + When you have the final answer, respond directly without the above format. + """ return prompt def _format_tools_description(self) -> str: