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
added docstring
reibs8c810a76cc16
diff --git a/agentops/helpers.py b/agentops/helpers.pyindex 132da3b3..fe918b36 100644--- a/agentops/helpers.py+++ b/agentops/helpers.py@@ -4,6 +4,12 @@ from datetime import datetimedef get_ISO_time():+ """+ Get the current UTC time in ISO 8601 format with milliseconds precision, suffixed with 'Z' to denote UTC timezone.++ Returns:+ str: The current UTC time as a string in ISO 8601 format.+ """return datetime.utcfromtimestamp(time.time()).isoformat(timespec='milliseconds') + 'Z'