22
33from __future__ import annotations
44
5- from typing_extensions import Literal
6-
75import httpx
86
97from ..._types import Body , Omit , Query , Headers , NotGiven , omit , not_given
@@ -56,7 +54,6 @@ def create(
5654 agent_config : AmbientAgentConfigParam | Omit = omit ,
5755 agent_uid : str | Omit = omit ,
5856 enabled : bool | Omit = omit ,
59- mode : Literal ["normal" , "plan" , "orchestrate" ] | Omit = omit ,
6057 prompt : str | Omit = omit ,
6158 team : bool | Omit = omit ,
6259 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -84,9 +81,6 @@ def create(
8481
8582 enabled: Whether the schedule should be active immediately
8683
87- mode: Optional query mode applied to every triggered run. Defaults to `normal` when
88- omitted. The server does not infer mode from prompt prefixes such as `/plan`.
89-
9084 prompt: The prompt/instruction for the agent to execute. Required unless
9185 agent_config.skill_spec is provided.
9286
@@ -110,7 +104,6 @@ def create(
110104 "agent_config" : agent_config ,
111105 "agent_uid" : agent_uid ,
112106 "enabled" : enabled ,
113- "mode" : mode ,
114107 "prompt" : prompt ,
115108 "team" : team ,
116109 },
@@ -165,7 +158,6 @@ def update(
165158 name : str ,
166159 agent_config : AmbientAgentConfigParam | Omit = omit ,
167160 agent_uid : str | Omit = omit ,
168- mode : Literal ["normal" , "plan" , "orchestrate" ] | Omit = omit ,
169161 prompt : str | Omit = omit ,
170162 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
171163 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -191,9 +183,6 @@ def update(
191183 agent_uid: Agent UID to use as the execution principal for this schedule. Only valid for
192184 team-owned schedules.
193185
194- mode: Optional query mode applied to every triggered run. Defaults to `normal` when
195- omitted. The server does not infer mode from prompt prefixes such as `/plan`.
196-
197186 prompt: The prompt/instruction for the agent to execute. Required unless
198187 agent_config.skill_spec is provided.
199188
@@ -216,7 +205,6 @@ def update(
216205 "name" : name ,
217206 "agent_config" : agent_config ,
218207 "agent_uid" : agent_uid ,
219- "mode" : mode ,
220208 "prompt" : prompt ,
221209 },
222210 schedule_update_params .ScheduleUpdateParams ,
@@ -384,7 +372,6 @@ async def create(
384372 agent_config : AmbientAgentConfigParam | Omit = omit ,
385373 agent_uid : str | Omit = omit ,
386374 enabled : bool | Omit = omit ,
387- mode : Literal ["normal" , "plan" , "orchestrate" ] | Omit = omit ,
388375 prompt : str | Omit = omit ,
389376 team : bool | Omit = omit ,
390377 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -412,9 +399,6 @@ async def create(
412399
413400 enabled: Whether the schedule should be active immediately
414401
415- mode: Optional query mode applied to every triggered run. Defaults to `normal` when
416- omitted. The server does not infer mode from prompt prefixes such as `/plan`.
417-
418402 prompt: The prompt/instruction for the agent to execute. Required unless
419403 agent_config.skill_spec is provided.
420404
@@ -438,7 +422,6 @@ async def create(
438422 "agent_config" : agent_config ,
439423 "agent_uid" : agent_uid ,
440424 "enabled" : enabled ,
441- "mode" : mode ,
442425 "prompt" : prompt ,
443426 "team" : team ,
444427 },
@@ -493,7 +476,6 @@ async def update(
493476 name : str ,
494477 agent_config : AmbientAgentConfigParam | Omit = omit ,
495478 agent_uid : str | Omit = omit ,
496- mode : Literal ["normal" , "plan" , "orchestrate" ] | Omit = omit ,
497479 prompt : str | Omit = omit ,
498480 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
499481 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -519,9 +501,6 @@ async def update(
519501 agent_uid: Agent UID to use as the execution principal for this schedule. Only valid for
520502 team-owned schedules.
521503
522- mode: Optional query mode applied to every triggered run. Defaults to `normal` when
523- omitted. The server does not infer mode from prompt prefixes such as `/plan`.
524-
525504 prompt: The prompt/instruction for the agent to execute. Required unless
526505 agent_config.skill_spec is provided.
527506
@@ -544,7 +523,6 @@ async def update(
544523 "name" : name ,
545524 "agent_config" : agent_config ,
546525 "agent_uid" : agent_uid ,
547- "mode" : mode ,
548526 "prompt" : prompt ,
549527 },
550528 schedule_update_params .ScheduleUpdateParams ,
0 commit comments