Python SDK for AI agent monitoring, LLM cost tracking, benchmarking, and more. Integrates with most LLMs and agent frameworks including CrewAI, Agno, OpenAI Agents SDK, Langchain, Autogen, AG2, and CamelAI
Python agentagentopsagents-sdkaianthropicautogencost-estimationcrewaievalsevaluation-metricsgroqlangchainllmmistralollamaopenaiopenai-agents
Refactoring video logic (#59)
Howard Gil405a9620e37a
diff --git a/agentops/session.py b/agentops/session.pyindex e29c6cad..bb5427c4 100644--- a/agentops/session.py+++ b/agentops/session.py@@ -27,6 +27,16 @@ class Session:self.session_id = session_idself.init_timestamp = get_ISO_time()self.tags = tags+ self.video = None++ def set_session_video(self, video: str):+ """+ Sets a url to the video recording of the session.++ Args:+ video (str): The url of the video recording+ """+ self.video = videodef end_session(self, end_state: str = "Indeterminate", rating: Optional[str] = None):"""