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

added missing type hint

reibs0615246a67fd
diff --git a/agentops/http.py b/agentops/http.py
index 5460f074..022c6f3a 100644
--- a/agentops/http.py
+++ b/agentops/http.py
@@ -57,7 +57,7 @@ class Response:
class HttpClient:
@staticmethod
- def post(url: str, payload: bytes, api_key: str = None, org_key: Optional[str] = None, header=None) -> Response:
+ def post(url: str, payload: bytes, api_key: Optional[str] = None, org_key: Optional[str] = None, header=None) -> Response:
result = Response()
try:
# Create request session with retries configured