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

Response type from object upload doesn't need to be a pydantic model. (#971)

Travis Dent887af32c906f
diff --git a/agentops/client/api/types.py b/agentops/client/api/types.py
index c56fad06..bc70f93c 100644
--- a/agentops/client/api/types.py
+++ b/agentops/client/api/types.py
@@ -5,7 +5,6 @@ This module contains type definitions used by multiple API client modules.
"""
from typing import TypedDict
-from pydantic import BaseModel
class AuthTokenResponse(TypedDict):
@@ -15,7 +14,7 @@ class AuthTokenResponse(TypedDict):
project_id: str
-class UploadedObjectResponse(BaseModel):
+class UploadedObjectResponse(TypedDict):
"""Response from the v4/objects/upload endpoint"""
url: str
diff --git a/pyproject.toml b/pyproject.toml
index 731d7195..c1d60bd4 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
[project]
name = "agentops"
-version = "0.4.11"
+version = "0.4.12"
authors = [
{ name="Alex Reibman", email="[email protected]" },
{ name="Shawn Qiu", email="[email protected]" },
@@ -59,7 +59,7 @@ test = [
# CI will fail because all tests will automatically pull this dependency group;
# we need a separate group specifically for integration tests which will run on pinned 3.1x
# ------------------------------------------------------------------------------------------------------------------------------------
- # "crewai-tools @ git+https://github.com/crewAIInc/crewAI-tools.git@a14091abb24527c97ccfcc8539d529c8b4559a0f; python_version>='3.10'",
+ # "crewai-tools @ git+https://github.com/crewAIInc/crewAI-tools.git@a14091abb24527c97ccfcc8539d529c8b4559a0f; python_version>='3.10'",
# ------------------------------------------------------------------------------------------------------------------------------------
# ;;
"pytest-cov",