Skip to content

Commit 0ef9c8f

Browse files
feat(api): api update
1 parent 2d9cdd0 commit 0ef9c8f

File tree

4 files changed

+3
-21
lines changed

4 files changed

+3
-21
lines changed

.stats.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 14
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/warp-bnavetta%2Fwarp-api-8f9c749573846b07a55a3131b66456f0a592838c6bfc986ab30948df66cd6f11.yml
3-
openapi_spec_hash: 59f1ac98ad6cf13b12c59196bcecffd7
4-
config_hash: 60052b2c1c0862014416821aba875574
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/warp-bnavetta%2Fwarp-api-a29592b2ba26cba9d89b95969d66506f49c08e140b76ce4aea4189e5c1dccc06.yml
3+
openapi_spec_hash: 27a5de1f891104d5e47904ad8e4b4bd1
4+
config_hash: 40327fb76b7cce7b97f23de9b8d48efb

src/oz_agent_sdk/resources/agent/agent.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,6 @@ def get_artifact(
193193
def run(
194194
self,
195195
*,
196-
agent_identity_uid: str | Omit = omit,
197196
attachments: Iterable[agent_run_params.Attachment] | Omit = omit,
198197
config: AmbientAgentConfigParam | Omit = omit,
199198
conversation_id: str | Omit = omit,
@@ -216,9 +215,6 @@ def run(
216215
runs. Behavior is identical to POST /agent/run.
217216
218217
Args:
219-
agent_identity_uid: Optional agent identity UID to use as the execution principal for the run. This
220-
is only valid for runs that are team owned.
221-
222218
attachments: Optional file attachments to include with the prompt (max 5). Attachments are
223219
uploaded to cloud storage and made available to the agent.
224220
@@ -260,7 +256,6 @@ def run(
260256
"/agent/runs",
261257
body=maybe_transform(
262258
{
263-
"agent_identity_uid": agent_identity_uid,
264259
"attachments": attachments,
265260
"config": config,
266261
"conversation_id": conversation_id,
@@ -422,7 +417,6 @@ async def get_artifact(
422417
async def run(
423418
self,
424419
*,
425-
agent_identity_uid: str | Omit = omit,
426420
attachments: Iterable[agent_run_params.Attachment] | Omit = omit,
427421
config: AmbientAgentConfigParam | Omit = omit,
428422
conversation_id: str | Omit = omit,
@@ -445,9 +439,6 @@ async def run(
445439
runs. Behavior is identical to POST /agent/run.
446440
447441
Args:
448-
agent_identity_uid: Optional agent identity UID to use as the execution principal for the run. This
449-
is only valid for runs that are team owned.
450-
451442
attachments: Optional file attachments to include with the prompt (max 5). Attachments are
452443
uploaded to cloud storage and made available to the agent.
453444
@@ -489,7 +480,6 @@ async def run(
489480
"/agent/runs",
490481
body=await async_maybe_transform(
491482
{
492-
"agent_identity_uid": agent_identity_uid,
493483
"attachments": attachments,
494484
"config": config,
495485
"conversation_id": conversation_id,

src/oz_agent_sdk/types/agent_run_params.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,6 @@
1414

1515

1616
class AgentRunParams(TypedDict, total=False):
17-
agent_identity_uid: str
18-
"""
19-
Optional agent identity UID to use as the execution principal for the run. This
20-
is only valid for runs that are team owned.
21-
"""
22-
2317
attachments: Iterable[Attachment]
2418
"""
2519
Optional file attachments to include with the prompt (max 5). Attachments are

tests/api_resources/test_agent.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@ def test_method_run(self, client: OzAPI) -> None:
112112
@parametrize
113113
def test_method_run_with_all_params(self, client: OzAPI) -> None:
114114
agent = client.agent.run(
115-
agent_identity_uid="agent_identity_uid",
116115
attachments=[
117116
{
118117
"data": "U3RhaW5sZXNzIHJvY2tz",
@@ -273,7 +272,6 @@ async def test_method_run(self, async_client: AsyncOzAPI) -> None:
273272
@parametrize
274273
async def test_method_run_with_all_params(self, async_client: AsyncOzAPI) -> None:
275274
agent = await async_client.agent.run(
276-
agent_identity_uid="agent_identity_uid",
277275
attachments=[
278276
{
279277
"data": "U3RhaW5sZXNzIHJvY2tz",

0 commit comments

Comments
 (0)