mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-09 16:18:30 +00:00
changing method naming to increment
This commit is contained in:
@@ -255,7 +255,7 @@ class Agent(BaseModel):
|
||||
agent=RunnableAgent(runnable=inner_agent), **executor_args
|
||||
)
|
||||
|
||||
def count_formatting_errors(self) -> None:
|
||||
def increment_formatting_errors(self) -> None:
|
||||
"""Count the formatting errors of the agent."""
|
||||
self.formatting_errors += 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user