Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "3.7.0"
".": "3.8.0"
}
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 188
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/digitalocean%2Fgradient-f07d74847e620dfa26d8df40ea4680814af9bba381b3a57a7b6ed76ad49d85f8.yml
openapi_spec_hash: e3553dc2abf2afd4368b736bcc32a289
config_hash: b712366a70c9d33e22d40eb601ca972f
config_hash: b28984dd49d4baf1d68572efe83ac103
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 3.8.0 (2025-11-20)

Full Changelog: [v3.7.0...v3.8.0](https://github.com/digitalocean/gradient-python/compare/v3.7.0...v3.8.0)

### Features

* **api:** manual updates ([244277b](https://github.com/digitalocean/gradient-python/commit/244277b483ac97f733e8f37e0b556cb49813b554))

## 3.7.0 (2025-11-19)

Full Changelog: [v3.6.0...v3.7.0](https://github.com/digitalocean/gradient-python/compare/v3.6.0...v3.7.0)
Expand Down
12 changes: 0 additions & 12 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,18 +155,6 @@ Methods:
- <code title="get /v2/gen-ai/workspaces/{workspace_uuid}/agents">client.agents.evaluation_metrics.workspaces.agents.<a href="./src/gradient/resources/agents/evaluation_metrics/workspaces/agents.py">list</a>(workspace_uuid, \*\*<a href="src/gradient/types/agents/evaluation_metrics/workspaces/agent_list_params.py">params</a>) -> <a href="./src/gradient/types/agents/evaluation_metrics/workspaces/agent_list_response.py">AgentListResponse</a></code>
- <code title="put /v2/gen-ai/workspaces/{workspace_uuid}/agents">client.agents.evaluation_metrics.workspaces.agents.<a href="./src/gradient/resources/agents/evaluation_metrics/workspaces/agents.py">move</a>(path_workspace_uuid, \*\*<a href="src/gradient/types/agents/evaluation_metrics/workspaces/agent_move_params.py">params</a>) -> <a href="./src/gradient/types/agents/evaluation_metrics/workspaces/agent_move_response.py">AgentMoveResponse</a></code>

### Models

Types:

```python
from gradient.types.agents.evaluation_metrics import ModelListResponse
```

Methods:

- <code title="get /v2/gen-ai/models">client.agents.evaluation_metrics.models.<a href="./src/gradient/resources/agents/evaluation_metrics/models.py">list</a>(\*\*<a href="src/gradient/types/agents/evaluation_metrics/model_list_params.py">params</a>) -> <a href="./src/gradient/types/agents/evaluation_metrics/model_list_response.py">ModelListResponse</a></code>

### Anthropic

#### Keys
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "gradient"
version = "3.7.0"
version = "3.8.0"
description = "The official Python library for the Gradient API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/gradient/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

__title__ = "gradient"
__version__ = "3.7.0" # x-release-please-version
__version__ = "3.8.0" # x-release-please-version
14 changes: 0 additions & 14 deletions src/gradient/resources/agents/evaluation_metrics/__init__.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

from .models import (
ModelsResource,
AsyncModelsResource,
ModelsResourceWithRawResponse,
AsyncModelsResourceWithRawResponse,
ModelsResourceWithStreamingResponse,
AsyncModelsResourceWithStreamingResponse,
)
from .oauth2 import (
Oauth2Resource,
AsyncOauth2Resource,
Expand Down Expand Up @@ -64,12 +56,6 @@
"AsyncWorkspacesResourceWithRawResponse",
"WorkspacesResourceWithStreamingResponse",
"AsyncWorkspacesResourceWithStreamingResponse",
"ModelsResource",
"AsyncModelsResource",
"ModelsResourceWithRawResponse",
"AsyncModelsResourceWithRawResponse",
"ModelsResourceWithStreamingResponse",
"AsyncModelsResourceWithStreamingResponse",
"AnthropicResource",
"AsyncAnthropicResource",
"AnthropicResourceWithRawResponse",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,6 @@

import httpx

from .models import (
ModelsResource,
AsyncModelsResource,
ModelsResourceWithRawResponse,
AsyncModelsResourceWithRawResponse,
ModelsResourceWithStreamingResponse,
AsyncModelsResourceWithStreamingResponse,
)
from ...._types import Body, Omit, Query, Headers, NotGiven, omit, not_given
from ...._utils import maybe_transform, async_maybe_transform
from ...._compat import cached_property
Expand Down Expand Up @@ -75,10 +67,6 @@ class EvaluationMetricsResource(SyncAPIResource):
def workspaces(self) -> WorkspacesResource:
return WorkspacesResource(self._client)

@cached_property
def models(self) -> ModelsResource:
return ModelsResource(self._client)

@cached_property
def anthropic(self) -> AnthropicResource:
return AnthropicResource(self._client)
Expand Down Expand Up @@ -192,10 +180,6 @@ class AsyncEvaluationMetricsResource(AsyncAPIResource):
def workspaces(self) -> AsyncWorkspacesResource:
return AsyncWorkspacesResource(self._client)

@cached_property
def models(self) -> AsyncModelsResource:
return AsyncModelsResource(self._client)

@cached_property
def anthropic(self) -> AsyncAnthropicResource:
return AsyncAnthropicResource(self._client)
Expand Down Expand Up @@ -319,10 +303,6 @@ def __init__(self, evaluation_metrics: EvaluationMetricsResource) -> None:
def workspaces(self) -> WorkspacesResourceWithRawResponse:
return WorkspacesResourceWithRawResponse(self._evaluation_metrics.workspaces)

@cached_property
def models(self) -> ModelsResourceWithRawResponse:
return ModelsResourceWithRawResponse(self._evaluation_metrics.models)

@cached_property
def anthropic(self) -> AnthropicResourceWithRawResponse:
return AnthropicResourceWithRawResponse(self._evaluation_metrics.anthropic)
Expand Down Expand Up @@ -355,10 +335,6 @@ def __init__(self, evaluation_metrics: AsyncEvaluationMetricsResource) -> None:
def workspaces(self) -> AsyncWorkspacesResourceWithRawResponse:
return AsyncWorkspacesResourceWithRawResponse(self._evaluation_metrics.workspaces)

@cached_property
def models(self) -> AsyncModelsResourceWithRawResponse:
return AsyncModelsResourceWithRawResponse(self._evaluation_metrics.models)

@cached_property
def anthropic(self) -> AsyncAnthropicResourceWithRawResponse:
return AsyncAnthropicResourceWithRawResponse(self._evaluation_metrics.anthropic)
Expand Down Expand Up @@ -391,10 +367,6 @@ def __init__(self, evaluation_metrics: EvaluationMetricsResource) -> None:
def workspaces(self) -> WorkspacesResourceWithStreamingResponse:
return WorkspacesResourceWithStreamingResponse(self._evaluation_metrics.workspaces)

@cached_property
def models(self) -> ModelsResourceWithStreamingResponse:
return ModelsResourceWithStreamingResponse(self._evaluation_metrics.models)

@cached_property
def anthropic(self) -> AnthropicResourceWithStreamingResponse:
return AnthropicResourceWithStreamingResponse(self._evaluation_metrics.anthropic)
Expand Down Expand Up @@ -427,10 +399,6 @@ def __init__(self, evaluation_metrics: AsyncEvaluationMetricsResource) -> None:
def workspaces(self) -> AsyncWorkspacesResourceWithStreamingResponse:
return AsyncWorkspacesResourceWithStreamingResponse(self._evaluation_metrics.workspaces)

@cached_property
def models(self) -> AsyncModelsResourceWithStreamingResponse:
return AsyncModelsResourceWithStreamingResponse(self._evaluation_metrics.models)

@cached_property
def anthropic(self) -> AsyncAnthropicResourceWithStreamingResponse:
return AsyncAnthropicResourceWithStreamingResponse(self._evaluation_metrics.anthropic)
Expand Down
Loading