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
black formatting (#443)
Howard Gil4a6a56e16183
diff --git a/agentops/session.py b/agentops/session.pyindex 24f29b86..3af6f33a 100644--- a/agentops/session.py+++ b/agentops/session.py@@ -142,7 +142,7 @@ class Session:token_cost_d = Decimal(0)else:token_cost_d = Decimal(token_cost)-+formatted_cost = ("{:.2f}".format(token_cost_d)if token_cost_d == 0