Skip to content

Commit 08bb213

Browse files
committed
Release 0.0.48
1 parent fc99c5e commit 08bb213

13 files changed

+62
-12
lines changed

poetry.lock

Lines changed: 11 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "vocode-api"
3-
version = "0.0.47"
3+
version = "0.0.48"
44
description = ""
55
readme = "README.md"
66
authors = []

reference.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1507,6 +1507,14 @@ client.agents.create_agent(
15071507
<dl>
15081508
<dd>
15091509

1510+
**idle_time_seconds:** `typing.Optional[int]`
1511+
1512+
</dd>
1513+
</dl>
1514+
1515+
<dl>
1516+
<dd>
1517+
15101518
**llm_temperature:** `typing.Optional[float]`
15111519

15121520
</dd>
@@ -1739,6 +1747,14 @@ client.agents.update_agent(
17391747
<dl>
17401748
<dd>
17411749

1750+
**idle_time_seconds:** `typing.Optional[AgentUpdateParamsIdleTimeSeconds]`
1751+
1752+
</dd>
1753+
</dl>
1754+
1755+
<dl>
1756+
<dd>
1757+
17421758
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
17431759

17441760
</dd>

src/vocode/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
AgentUpdateParamsDeepgramKeywords,
5050
AgentUpdateParamsDeepgramKeywordsZeroValue,
5151
AgentUpdateParamsEndpointingSensitivity,
52+
AgentUpdateParamsIdleTimeSeconds,
5253
AgentUpdateParamsInitialMessage,
5354
AgentUpdateParamsInitialMessageDelay,
5455
AgentUpdateParamsInterruptSensitivity,
@@ -318,6 +319,7 @@
318319
"AgentUpdateParamsDeepgramKeywords",
319320
"AgentUpdateParamsDeepgramKeywordsZeroValue",
320321
"AgentUpdateParamsEndpointingSensitivity",
322+
"AgentUpdateParamsIdleTimeSeconds",
321323
"AgentUpdateParamsInitialMessage",
322324
"AgentUpdateParamsInitialMessageDelay",
323325
"AgentUpdateParamsInterruptSensitivity",

src/vocode/agents/client.py

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
from ..types.agent_update_params_run_do_not_call_detection import AgentUpdateParamsRunDoNotCallDetection
4444
from ..types.agent_update_params_llm_fallback import AgentUpdateParamsLlmFallback
4545
from ..types.agent_update_params_deepgram_keywords import AgentUpdateParamsDeepgramKeywords
46+
from ..types.agent_update_params_idle_time_seconds import AgentUpdateParamsIdleTimeSeconds
4647
from ..core.client_wrapper import AsyncClientWrapper
4748

4849
# this is used as the default value for optional parameters
@@ -206,6 +207,7 @@ def create_agent(
206207
run_do_not_call_detection: typing.Optional[bool] = OMIT,
207208
llm_fallback: typing.Optional[InternalLlmFallback] = OMIT,
208209
deepgram_keywords: typing.Optional[typing.Dict[str, typing.Optional[AgentParamsDeepgramKeywordsValue]]] = OMIT,
210+
idle_time_seconds: typing.Optional[int] = OMIT,
209211
llm_temperature: typing.Optional[float] = OMIT,
210212
request_options: typing.Optional[RequestOptions] = None,
211213
) -> Agent:
@@ -254,6 +256,8 @@ def create_agent(
254256
255257
deepgram_keywords : typing.Optional[typing.Dict[str, typing.Optional[AgentParamsDeepgramKeywordsValue]]]
256258
259+
idle_time_seconds : typing.Optional[int]
260+
257261
llm_temperature : typing.Optional[float]
258262
259263
request_options : typing.Optional[RequestOptions]
@@ -301,6 +305,7 @@ def create_agent(
301305
"run_do_not_call_detection": run_do_not_call_detection,
302306
"llm_fallback": llm_fallback,
303307
"deepgram_keywords": deepgram_keywords,
308+
"idle_time_seconds": idle_time_seconds,
304309
"llm_temperature": llm_temperature,
305310
},
306311
request_options=request_options,
@@ -355,6 +360,7 @@ def update_agent(
355360
run_do_not_call_detection: typing.Optional[AgentUpdateParamsRunDoNotCallDetection] = OMIT,
356361
llm_fallback: typing.Optional[AgentUpdateParamsLlmFallback] = OMIT,
357362
deepgram_keywords: typing.Optional[AgentUpdateParamsDeepgramKeywords] = OMIT,
363+
idle_time_seconds: typing.Optional[AgentUpdateParamsIdleTimeSeconds] = OMIT,
358364
request_options: typing.Optional[RequestOptions] = None,
359365
) -> Agent:
360366
"""
@@ -404,6 +410,8 @@ def update_agent(
404410
405411
deepgram_keywords : typing.Optional[AgentUpdateParamsDeepgramKeywords]
406412
413+
idle_time_seconds : typing.Optional[AgentUpdateParamsIdleTimeSeconds]
414+
407415
request_options : typing.Optional[RequestOptions]
408416
Request-specific configuration.
409417
@@ -451,6 +459,7 @@ def update_agent(
451459
"run_do_not_call_detection": run_do_not_call_detection,
452460
"llm_fallback": llm_fallback,
453461
"deepgram_keywords": deepgram_keywords,
462+
"idle_time_seconds": idle_time_seconds,
454463
},
455464
request_options=request_options,
456465
omit=OMIT,
@@ -653,6 +662,7 @@ async def create_agent(
653662
run_do_not_call_detection: typing.Optional[bool] = OMIT,
654663
llm_fallback: typing.Optional[InternalLlmFallback] = OMIT,
655664
deepgram_keywords: typing.Optional[typing.Dict[str, typing.Optional[AgentParamsDeepgramKeywordsValue]]] = OMIT,
665+
idle_time_seconds: typing.Optional[int] = OMIT,
656666
llm_temperature: typing.Optional[float] = OMIT,
657667
request_options: typing.Optional[RequestOptions] = None,
658668
) -> Agent:
@@ -701,6 +711,8 @@ async def create_agent(
701711
702712
deepgram_keywords : typing.Optional[typing.Dict[str, typing.Optional[AgentParamsDeepgramKeywordsValue]]]
703713
714+
idle_time_seconds : typing.Optional[int]
715+
704716
llm_temperature : typing.Optional[float]
705717
706718
request_options : typing.Optional[RequestOptions]
@@ -756,6 +768,7 @@ async def main() -> None:
756768
"run_do_not_call_detection": run_do_not_call_detection,
757769
"llm_fallback": llm_fallback,
758770
"deepgram_keywords": deepgram_keywords,
771+
"idle_time_seconds": idle_time_seconds,
759772
"llm_temperature": llm_temperature,
760773
},
761774
request_options=request_options,
@@ -810,6 +823,7 @@ async def update_agent(
810823
run_do_not_call_detection: typing.Optional[AgentUpdateParamsRunDoNotCallDetection] = OMIT,
811824
llm_fallback: typing.Optional[AgentUpdateParamsLlmFallback] = OMIT,
812825
deepgram_keywords: typing.Optional[AgentUpdateParamsDeepgramKeywords] = OMIT,
826+
idle_time_seconds: typing.Optional[AgentUpdateParamsIdleTimeSeconds] = OMIT,
813827
request_options: typing.Optional[RequestOptions] = None,
814828
) -> Agent:
815829
"""
@@ -859,6 +873,8 @@ async def update_agent(
859873
860874
deepgram_keywords : typing.Optional[AgentUpdateParamsDeepgramKeywords]
861875
876+
idle_time_seconds : typing.Optional[AgentUpdateParamsIdleTimeSeconds]
877+
862878
request_options : typing.Optional[RequestOptions]
863879
Request-specific configuration.
864880
@@ -914,6 +930,7 @@ async def main() -> None:
914930
"run_do_not_call_detection": run_do_not_call_detection,
915931
"llm_fallback": llm_fallback,
916932
"deepgram_keywords": deepgram_keywords,
933+
"idle_time_seconds": idle_time_seconds,
917934
},
918935
request_options=request_options,
919936
omit=OMIT,

src/vocode/core/client_wrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def get_headers(self) -> typing.Dict[str, str]:
2222
headers: typing.Dict[str, str] = {
2323
"X-Fern-Language": "Python",
2424
"X-Fern-SDK-Name": "vocode-api",
25-
"X-Fern-SDK-Version": "0.0.47",
25+
"X-Fern-SDK-Version": "0.0.48",
2626
}
2727
token = self._get_token()
2828
if token is not None:

src/vocode/types/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
from .agent_update_params_deepgram_keywords import AgentUpdateParamsDeepgramKeywords
5151
from .agent_update_params_deepgram_keywords_zero_value import AgentUpdateParamsDeepgramKeywordsZeroValue
5252
from .agent_update_params_endpointing_sensitivity import AgentUpdateParamsEndpointingSensitivity
53+
from .agent_update_params_idle_time_seconds import AgentUpdateParamsIdleTimeSeconds
5354
from .agent_update_params_initial_message import AgentUpdateParamsInitialMessage
5455
from .agent_update_params_initial_message_delay import AgentUpdateParamsInitialMessageDelay
5556
from .agent_update_params_interrupt_sensitivity import AgentUpdateParamsInterruptSensitivity
@@ -309,6 +310,7 @@
309310
"AgentUpdateParamsDeepgramKeywords",
310311
"AgentUpdateParamsDeepgramKeywordsZeroValue",
311312
"AgentUpdateParamsEndpointingSensitivity",
313+
"AgentUpdateParamsIdleTimeSeconds",
312314
"AgentUpdateParamsInitialMessage",
313315
"AgentUpdateParamsInitialMessageDelay",
314316
"AgentUpdateParamsInterruptSensitivity",

src/vocode/types/agent.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ class Agent(UniversalBaseModel):
4242
run_do_not_call_detection: typing.Optional[bool] = None
4343
llm_fallback: typing.Optional[InternalLlmFallback] = None
4444
deepgram_keywords: typing.Optional[typing.Dict[str, typing.Optional[AgentDeepgramKeywordsValue]]] = None
45+
idle_time_seconds: typing.Optional[int] = None
4546
llm_temperature: typing.Optional[float] = None
4647

4748
if IS_PYDANTIC_V2:

src/vocode/types/agent_params.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ class AgentParams(UniversalBaseModel):
4040
run_do_not_call_detection: typing.Optional[bool] = None
4141
llm_fallback: typing.Optional[InternalLlmFallback] = None
4242
deepgram_keywords: typing.Optional[typing.Dict[str, typing.Optional[AgentParamsDeepgramKeywordsValue]]] = None
43+
idle_time_seconds: typing.Optional[int] = None
4344
llm_temperature: typing.Optional[float] = None
4445

4546
if IS_PYDANTIC_V2:

src/vocode/types/agent_update_params.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
from .agent_update_params_run_do_not_call_detection import AgentUpdateParamsRunDoNotCallDetection
2424
from .agent_update_params_llm_fallback import AgentUpdateParamsLlmFallback
2525
from .agent_update_params_deepgram_keywords import AgentUpdateParamsDeepgramKeywords
26+
from .agent_update_params_idle_time_seconds import AgentUpdateParamsIdleTimeSeconds
2627
from ..core.pydantic_utilities import IS_PYDANTIC_V2
2728
import pydantic
2829

@@ -49,6 +50,7 @@ class AgentUpdateParams(UniversalBaseModel):
4950
run_do_not_call_detection: typing.Optional[AgentUpdateParamsRunDoNotCallDetection] = None
5051
llm_fallback: typing.Optional[AgentUpdateParamsLlmFallback] = None
5152
deepgram_keywords: typing.Optional[AgentUpdateParamsDeepgramKeywords] = None
53+
idle_time_seconds: typing.Optional[AgentUpdateParamsIdleTimeSeconds] = None
5254

5355
if IS_PYDANTIC_V2:
5456
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# This file was auto-generated by Fern from our API Definition.
2+
3+
import typing
4+
from .undefined import Undefined
5+
6+
AgentUpdateParamsIdleTimeSeconds = typing.Union[int, Undefined]

src/vocode/types/create_call_agent_params.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ class CreateCallAgentParams(UniversalBaseModel):
4242
deepgram_keywords: typing.Optional[
4343
typing.Dict[str, typing.Optional[CreateCallAgentParamsDeepgramKeywordsValue]]
4444
] = None
45+
idle_time_seconds: typing.Optional[int] = None
4546
llm_temperature: typing.Optional[float] = None
4647

4748
if IS_PYDANTIC_V2:

src/vocode/types/normalized_agent.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ class NormalizedAgent(UniversalBaseModel):
3939
run_do_not_call_detection: typing.Optional[bool] = None
4040
llm_fallback: typing.Optional[InternalLlmFallback] = None
4141
deepgram_keywords: typing.Optional[typing.Dict[str, typing.Optional[NormalizedAgentDeepgramKeywordsValue]]] = None
42+
idle_time_seconds: typing.Optional[int] = None
4243
llm_temperature: typing.Optional[float] = None
4344

4445
if IS_PYDANTIC_V2:

0 commit comments

Comments
 (0)