mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-26 00:28:13 +00:00
drop prints
This commit is contained in:
@@ -70,7 +70,6 @@ class Agent(BaseAgent):
|
|||||||
)
|
)
|
||||||
agent_ops_agent_name: str = None # type: ignore # Incompatible types in assignment (expression has type "None", variable has type "str")
|
agent_ops_agent_name: str = None # type: ignore # Incompatible types in assignment (expression has type "None", variable has type "str")
|
||||||
agent_ops_agent_id: str = None # type: ignore # Incompatible types in assignment (expression has type "None", variable has type "str")
|
agent_ops_agent_id: str = None # type: ignore # Incompatible types in assignment (expression has type "None", variable has type "str")
|
||||||
|
|
||||||
step_callback: Optional[Any] = Field(
|
step_callback: Optional[Any] = Field(
|
||||||
default=None,
|
default=None,
|
||||||
description="Callback to be executed after each step of the agent execution.",
|
description="Callback to be executed after each step of the agent execution.",
|
||||||
@@ -290,8 +289,6 @@ class Agent(BaseAgent):
|
|||||||
response_template=self.response_template,
|
response_template=self.response_template,
|
||||||
).task_execution()
|
).task_execution()
|
||||||
|
|
||||||
print("PROMPT:")
|
|
||||||
print(prompt)
|
|
||||||
stop_words = [self.i18n.slice("observation")]
|
stop_words = [self.i18n.slice("observation")]
|
||||||
|
|
||||||
if self.response_template:
|
if self.response_template:
|
||||||
|
|||||||
@@ -94,9 +94,6 @@ class CrewAgentExecutor(CrewAgentExecutorMixin):
|
|||||||
user_prompt = self._format_prompt(self.prompt.get("prompt", ""), inputs)
|
user_prompt = self._format_prompt(self.prompt.get("prompt", ""), inputs)
|
||||||
self.messages.append(self._format_msg(user_prompt))
|
self.messages.append(self._format_msg(user_prompt))
|
||||||
|
|
||||||
print("MESSAGES:")
|
|
||||||
print(self.messages)
|
|
||||||
|
|
||||||
self._show_start_logs()
|
self._show_start_logs()
|
||||||
|
|
||||||
self.ask_for_human_input = bool(inputs.get("ask_for_human_input", False))
|
self.ask_for_human_input = bool(inputs.get("ask_for_human_input", False))
|
||||||
|
|||||||
Reference in New Issue
Block a user