Skip to content

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

fixed getiso (#47)

Alex Reibman9e02c9ec59a6
diff --git a/agentops/helpers.py b/agentops/helpers.py
index 25859cbc..132da3b3 100644
--- a/agentops/helpers.py
+++ b/agentops/helpers.py
@@ -4,7 +4,7 @@ from datetime import datetime
def get_ISO_time():
- return datetime.fromtimestamp(time.time()).isoformat(timespec='milliseconds') + 'Z'
+ return datetime.utcfromtimestamp(time.time()).isoformat(timespec='milliseconds') + 'Z'
class Models(Enum):