code cleanup

This commit is contained in:
Braelyn Boynton
2024-04-02 12:25:52 -07:00
parent 4402c9be74
commit 45e307b98a
3 changed files with 1 additions and 3 deletions

View File

@@ -29,7 +29,7 @@ click = "^8.1.7"
python-dotenv = "1.0.0"
embedchain = "^0.1.98"
appdirs = "^1.4.4"
agentops = "0.1.0b1"
agentops = "^0.1.0"
[tool.poetry.extras]
tools = ["crewai-tools"]

View File

@@ -58,7 +58,6 @@ class Agent(BaseModel):
_request_within_rpm_limit: Any = PrivateAttr(default=None)
_token_process: TokenProcess = TokenProcess()
agent_ops_agent_name: str = None
agent_ops_agent_id: str = None
formatting_errors: int = 0
model_config = ConfigDict(arbitrary_types_allowed=True)

View File

@@ -347,7 +347,6 @@ class Crew(BaseModel):
if self.max_rpm:
self._rpm_controller.stop_rpm_counter()
print('ending')
agentops.end_session(end_state="Success", end_state_reason="Finished Execution")
self._telemetry.end_crew(self, output)