Skip to content

Commit 96d640c

Browse files
feat(api): api update
1 parent cb84f0c commit 96d640c

5 files changed

Lines changed: 8 additions & 40 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 23
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/warp-bnavetta/warp-api-f3e9fa9bb13497f0e762f0f55efcafd4d531315173d2b0a2aa96f633292f2cfe.yml
3-
openapi_spec_hash: 8b4544348c060abc69c1280f3c535fec
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/warp-bnavetta/warp-api-b719dd35d7850ee303cdebf54fa3dfddb492a6f578344c2060cfae013b61541c.yml
3+
openapi_spec_hash: 4c21e0d940ef5fc42767be5380571c5d
44
config_hash: 236823a4936c76818117c16aa5c188df

src/oz_agent_sdk/types/ambient_agent_config.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,6 @@ class HarnessAuthSecrets(BaseModel):
4848
type is "claude".
4949
"""
5050

51-
codex_auth_secret_name: Optional[str] = None
52-
"""
53-
Name of a managed secret for Codex harness authentication. The secret must exist
54-
within the caller's personal or team scope. Only applicable when harness type is
55-
"codex".
56-
"""
57-
5851

5952
class InferenceProvidersAws(BaseModel):
6053
"""

src/oz_agent_sdk/types/ambient_agent_config_param.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,6 @@ class HarnessAuthSecrets(TypedDict, total=False):
4747
type is "claude".
4848
"""
4949

50-
codex_auth_secret_name: str
51-
"""
52-
Name of a managed secret for Codex harness authentication. The secret must exist
53-
within the caller's personal or team scope. Only applicable when harness type is
54-
"codex".
55-
"""
56-
5750

5851
class InferenceProvidersAws(TypedDict, total=False):
5952
"""

tests/api_resources/agent/test_schedules.py

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,7 @@ def test_method_create_with_all_params(self, client: OzAPI) -> None:
4141
"computer_use_enabled": True,
4242
"environment_id": "environment_id",
4343
"harness": {"type": "oz"},
44-
"harness_auth_secrets": {
45-
"claude_auth_secret_name": "claude_auth_secret_name",
46-
"codex_auth_secret_name": "codex_auth_secret_name",
47-
},
44+
"harness_auth_secrets": {"claude_auth_secret_name": "claude_auth_secret_name"},
4845
"idle_timeout_minutes": 1,
4946
"inference_providers": {
5047
"aws": {
@@ -177,10 +174,7 @@ def test_method_update_with_all_params(self, client: OzAPI) -> None:
177174
"computer_use_enabled": True,
178175
"environment_id": "environment_id",
179176
"harness": {"type": "oz"},
180-
"harness_auth_secrets": {
181-
"claude_auth_secret_name": "claude_auth_secret_name",
182-
"codex_auth_secret_name": "codex_auth_secret_name",
183-
},
177+
"harness_auth_secrets": {"claude_auth_secret_name": "claude_auth_secret_name"},
184178
"idle_timeout_minutes": 1,
185179
"inference_providers": {
186180
"aws": {
@@ -440,10 +434,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncOzAPI) ->
440434
"computer_use_enabled": True,
441435
"environment_id": "environment_id",
442436
"harness": {"type": "oz"},
443-
"harness_auth_secrets": {
444-
"claude_auth_secret_name": "claude_auth_secret_name",
445-
"codex_auth_secret_name": "codex_auth_secret_name",
446-
},
437+
"harness_auth_secrets": {"claude_auth_secret_name": "claude_auth_secret_name"},
447438
"idle_timeout_minutes": 1,
448439
"inference_providers": {
449440
"aws": {
@@ -576,10 +567,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncOzAPI) ->
576567
"computer_use_enabled": True,
577568
"environment_id": "environment_id",
578569
"harness": {"type": "oz"},
579-
"harness_auth_secrets": {
580-
"claude_auth_secret_name": "claude_auth_secret_name",
581-
"codex_auth_secret_name": "codex_auth_secret_name",
582-
},
570+
"harness_auth_secrets": {"claude_auth_secret_name": "claude_auth_secret_name"},
583571
"idle_timeout_minutes": 1,
584572
"inference_providers": {
585573
"aws": {

tests/api_resources/test_agent.py

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -162,10 +162,7 @@ def test_method_run_with_all_params(self, client: OzAPI) -> None:
162162
"computer_use_enabled": True,
163163
"environment_id": "environment_id",
164164
"harness": {"type": "oz"},
165-
"harness_auth_secrets": {
166-
"claude_auth_secret_name": "claude_auth_secret_name",
167-
"codex_auth_secret_name": "codex_auth_secret_name",
168-
},
165+
"harness_auth_secrets": {"claude_auth_secret_name": "claude_auth_secret_name"},
169166
"idle_timeout_minutes": 1,
170167
"inference_providers": {
171168
"aws": {
@@ -375,10 +372,7 @@ async def test_method_run_with_all_params(self, async_client: AsyncOzAPI) -> Non
375372
"computer_use_enabled": True,
376373
"environment_id": "environment_id",
377374
"harness": {"type": "oz"},
378-
"harness_auth_secrets": {
379-
"claude_auth_secret_name": "claude_auth_secret_name",
380-
"codex_auth_secret_name": "codex_auth_secret_name",
381-
},
375+
"harness_auth_secrets": {"claude_auth_secret_name": "claude_auth_secret_name"},
382376
"idle_timeout_minutes": 1,
383377
"inference_providers": {
384378
"aws": {

0 commit comments

Comments
 (0)