From 6187bd9f6f5c0b84ea2891cf14587ad904b7c13c Mon Sep 17 00:00:00 2001 From: Travis Dent Date: Mon, 12 May 2025 13:51:08 -0700 Subject: [PATCH 1/2] Response type from object upload doesn't need to be a pydantic model. --- agentops/client/api/types.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/agentops/client/api/types.py b/agentops/client/api/types.py index 3b49e0b44..bc70f93c8 100644 --- a/agentops/client/api/types.py +++ b/agentops/client/api/types.py @@ -5,7 +5,6 @@ """ from typing import TypedDict -from pydantic import BaseModel class AuthTokenResponse(TypedDict): @@ -15,8 +14,8 @@ class AuthTokenResponse(TypedDict): project_id: str -class UploadedObjectResponse(BaseModel): +class UploadedObjectResponse(TypedDict): """Response from the v4/objects/upload endpoint""" + url: str size: int - From 6fa6bfcab46eb3b7ddb70f7a8191a9fa980b5816 Mon Sep 17 00:00:00 2001 From: Travis Dent Date: Mon, 12 May 2025 14:04:44 -0700 Subject: [PATCH 2/2] Version bump. --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 231756aa8..95626de77 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="areibman@gmail.com" }, { name="Shawn Qiu", email="siyangqiu@gmail.com" }, @@ -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",