mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-11 00:58:30 +00:00
code cleanup
This commit is contained in:
@@ -29,7 +29,7 @@ click = "^8.1.7"
|
|||||||
python-dotenv = "1.0.0"
|
python-dotenv = "1.0.0"
|
||||||
embedchain = "^0.1.98"
|
embedchain = "^0.1.98"
|
||||||
appdirs = "^1.4.4"
|
appdirs = "^1.4.4"
|
||||||
agentops = "0.1.0b1"
|
agentops = "^0.1.0"
|
||||||
|
|
||||||
[tool.poetry.extras]
|
[tool.poetry.extras]
|
||||||
tools = ["crewai-tools"]
|
tools = ["crewai-tools"]
|
||||||
|
|||||||
@@ -58,7 +58,6 @@ class Agent(BaseModel):
|
|||||||
_request_within_rpm_limit: Any = PrivateAttr(default=None)
|
_request_within_rpm_limit: Any = PrivateAttr(default=None)
|
||||||
_token_process: TokenProcess = TokenProcess()
|
_token_process: TokenProcess = TokenProcess()
|
||||||
agent_ops_agent_name: str = None
|
agent_ops_agent_name: str = None
|
||||||
agent_ops_agent_id: str = None
|
|
||||||
|
|
||||||
formatting_errors: int = 0
|
formatting_errors: int = 0
|
||||||
model_config = ConfigDict(arbitrary_types_allowed=True)
|
model_config = ConfigDict(arbitrary_types_allowed=True)
|
||||||
|
|||||||
@@ -347,7 +347,6 @@ class Crew(BaseModel):
|
|||||||
if self.max_rpm:
|
if self.max_rpm:
|
||||||
self._rpm_controller.stop_rpm_counter()
|
self._rpm_controller.stop_rpm_counter()
|
||||||
|
|
||||||
print('ending')
|
|
||||||
agentops.end_session(end_state="Success", end_state_reason="Finished Execution")
|
agentops.end_session(end_state="Success", end_state_reason="Finished Execution")
|
||||||
self._telemetry.end_crew(self, output)
|
self._telemetry.end_crew(self, output)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user