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
feature: display 500 errors to user
Shawn Qiuf5cdea9aa130
diff --git a/agentops/http.py b/agentops/http.pyindex 0a3b10e5..74159a51 100644--- a/agentops/http.py+++ b/agentops/http.py@@ -96,5 +96,8 @@ class HttpClient:'AgentOps: Could not post data - API server rejected your API key')if result.code == 400:logging.warn(f'AgentOps: Could not post data - {result.body}')+ if result.code == 500:+ logging.warn(+ f'AgentOps: Could not post data - internal server error')return result