mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-09 08:08:32 +00:00
linter fix
This commit is contained in:
@@ -305,7 +305,7 @@ class AgentReasoning:
|
||||
try:
|
||||
backstory = getattr(self.agent, "backstory", "No backstory provided")
|
||||
return backstory
|
||||
except Exception as e:
|
||||
except Exception:
|
||||
return "No backstory provided"
|
||||
|
||||
def __create_reasoning_prompt(self) -> str:
|
||||
|
||||
@@ -304,7 +304,7 @@ def patch_rpm_controller():
|
||||
from crewai.utilities.rpm_controller import RPMController
|
||||
from unittest.mock import patch
|
||||
|
||||
original_reset_request_count = RPMController._reset_request_count
|
||||
RPMController._reset_request_count
|
||||
|
||||
def mock_reset_request_count(self):
|
||||
"""Mock that prevents the recurring timer from being set up."""
|
||||
|
||||
Reference in New Issue
Block a user