Skip to content

Commit 244277b

Browse files
feat(api): manual updates
1 parent bcb91a1 commit 244277b

File tree

9 files changed

+1
-480
lines changed

9 files changed

+1
-480
lines changed

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 188
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/digitalocean%2Fgradient-f07d74847e620dfa26d8df40ea4680814af9bba381b3a57a7b6ed76ad49d85f8.yml
33
openapi_spec_hash: e3553dc2abf2afd4368b736bcc32a289
4-
config_hash: b712366a70c9d33e22d40eb601ca972f
4+
config_hash: b28984dd49d4baf1d68572efe83ac103

api.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -155,18 +155,6 @@ Methods:
155155
- <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>
156156
- <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>
157157

158-
### Models
159-
160-
Types:
161-
162-
```python
163-
from gradient.types.agents.evaluation_metrics import ModelListResponse
164-
```
165-
166-
Methods:
167-
168-
- <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>
169-
170158
### Anthropic
171159

172160
#### Keys

src/gradient/resources/agents/evaluation_metrics/__init__.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,5 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

3-
from .models import (
4-
ModelsResource,
5-
AsyncModelsResource,
6-
ModelsResourceWithRawResponse,
7-
AsyncModelsResourceWithRawResponse,
8-
ModelsResourceWithStreamingResponse,
9-
AsyncModelsResourceWithStreamingResponse,
10-
)
113
from .oauth2 import (
124
Oauth2Resource,
135
AsyncOauth2Resource,
@@ -64,12 +56,6 @@
6456
"AsyncWorkspacesResourceWithRawResponse",
6557
"WorkspacesResourceWithStreamingResponse",
6658
"AsyncWorkspacesResourceWithStreamingResponse",
67-
"ModelsResource",
68-
"AsyncModelsResource",
69-
"ModelsResourceWithRawResponse",
70-
"AsyncModelsResourceWithRawResponse",
71-
"ModelsResourceWithStreamingResponse",
72-
"AsyncModelsResourceWithStreamingResponse",
7359
"AnthropicResource",
7460
"AsyncAnthropicResource",
7561
"AnthropicResourceWithRawResponse",

src/gradient/resources/agents/evaluation_metrics/evaluation_metrics.py

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,6 @@
44

55
import httpx
66

7-
from .models import (
8-
ModelsResource,
9-
AsyncModelsResource,
10-
ModelsResourceWithRawResponse,
11-
AsyncModelsResourceWithRawResponse,
12-
ModelsResourceWithStreamingResponse,
13-
AsyncModelsResourceWithStreamingResponse,
14-
)
157
from ...._types import Body, Omit, Query, Headers, NotGiven, omit, not_given
168
from ...._utils import maybe_transform, async_maybe_transform
179
from ...._compat import cached_property
@@ -75,10 +67,6 @@ class EvaluationMetricsResource(SyncAPIResource):
7567
def workspaces(self) -> WorkspacesResource:
7668
return WorkspacesResource(self._client)
7769

78-
@cached_property
79-
def models(self) -> ModelsResource:
80-
return ModelsResource(self._client)
81-
8270
@cached_property
8371
def anthropic(self) -> AnthropicResource:
8472
return AnthropicResource(self._client)
@@ -192,10 +180,6 @@ class AsyncEvaluationMetricsResource(AsyncAPIResource):
192180
def workspaces(self) -> AsyncWorkspacesResource:
193181
return AsyncWorkspacesResource(self._client)
194182

195-
@cached_property
196-
def models(self) -> AsyncModelsResource:
197-
return AsyncModelsResource(self._client)
198-
199183
@cached_property
200184
def anthropic(self) -> AsyncAnthropicResource:
201185
return AsyncAnthropicResource(self._client)
@@ -319,10 +303,6 @@ def __init__(self, evaluation_metrics: EvaluationMetricsResource) -> None:
319303
def workspaces(self) -> WorkspacesResourceWithRawResponse:
320304
return WorkspacesResourceWithRawResponse(self._evaluation_metrics.workspaces)
321305

322-
@cached_property
323-
def models(self) -> ModelsResourceWithRawResponse:
324-
return ModelsResourceWithRawResponse(self._evaluation_metrics.models)
325-
326306
@cached_property
327307
def anthropic(self) -> AnthropicResourceWithRawResponse:
328308
return AnthropicResourceWithRawResponse(self._evaluation_metrics.anthropic)
@@ -355,10 +335,6 @@ def __init__(self, evaluation_metrics: AsyncEvaluationMetricsResource) -> None:
355335
def workspaces(self) -> AsyncWorkspacesResourceWithRawResponse:
356336
return AsyncWorkspacesResourceWithRawResponse(self._evaluation_metrics.workspaces)
357337

358-
@cached_property
359-
def models(self) -> AsyncModelsResourceWithRawResponse:
360-
return AsyncModelsResourceWithRawResponse(self._evaluation_metrics.models)
361-
362338
@cached_property
363339
def anthropic(self) -> AsyncAnthropicResourceWithRawResponse:
364340
return AsyncAnthropicResourceWithRawResponse(self._evaluation_metrics.anthropic)
@@ -391,10 +367,6 @@ def __init__(self, evaluation_metrics: EvaluationMetricsResource) -> None:
391367
def workspaces(self) -> WorkspacesResourceWithStreamingResponse:
392368
return WorkspacesResourceWithStreamingResponse(self._evaluation_metrics.workspaces)
393369

394-
@cached_property
395-
def models(self) -> ModelsResourceWithStreamingResponse:
396-
return ModelsResourceWithStreamingResponse(self._evaluation_metrics.models)
397-
398370
@cached_property
399371
def anthropic(self) -> AnthropicResourceWithStreamingResponse:
400372
return AnthropicResourceWithStreamingResponse(self._evaluation_metrics.anthropic)
@@ -427,10 +399,6 @@ def __init__(self, evaluation_metrics: AsyncEvaluationMetricsResource) -> None:
427399
def workspaces(self) -> AsyncWorkspacesResourceWithStreamingResponse:
428400
return AsyncWorkspacesResourceWithStreamingResponse(self._evaluation_metrics.workspaces)
429401

430-
@cached_property
431-
def models(self) -> AsyncModelsResourceWithStreamingResponse:
432-
return AsyncModelsResourceWithStreamingResponse(self._evaluation_metrics.models)
433-
434402
@cached_property
435403
def anthropic(self) -> AsyncAnthropicResourceWithStreamingResponse:
436404
return AsyncAnthropicResourceWithStreamingResponse(self._evaluation_metrics.anthropic)

src/gradient/resources/agents/evaluation_metrics/models.py

Lines changed: 0 additions & 254 deletions
This file was deleted.

src/gradient/types/agents/evaluation_metrics/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
anthropic, # type: ignore # noqa: F401
88
workspaces, # type: ignore # noqa: F401
99
)
10-
from .model_list_params import ModelListParams as ModelListParams
11-
from .model_list_response import ModelListResponse as ModelListResponse
1210
from .workspace_create_params import WorkspaceCreateParams as WorkspaceCreateParams
1311
from .workspace_list_response import WorkspaceListResponse as WorkspaceListResponse
1412
from .workspace_update_params import WorkspaceUpdateParams as WorkspaceUpdateParams

0 commit comments

Comments
 (0)