diff --git a/poetry.lock b/poetry.lock
index cd3d451..9bc0a58 100644
--- a/poetry.lock
+++ b/poetry.lock
@@ -106,13 +106,13 @@ trio = ["trio (>=0.22.0,<0.26.0)"]
[[package]]
name = "httpx"
-version = "0.27.0"
+version = "0.27.2"
description = "The next generation HTTP client."
optional = false
python-versions = ">=3.8"
files = [
- {file = "httpx-0.27.0-py3-none-any.whl", hash = "sha256:71d5465162c13681bff01ad59b2cc68dd838ea1f10e51574bac27103f00c91a5"},
- {file = "httpx-0.27.0.tar.gz", hash = "sha256:a0cb88a46f32dc874e04ee956e4c2764aba2aa228f650b06788ba6bda2962ab5"},
+ {file = "httpx-0.27.2-py3-none-any.whl", hash = "sha256:7bb2708e112d8fdd7829cd4243970f0c223274051cb35ee80c03301ee29a3df0"},
+ {file = "httpx-0.27.2.tar.gz", hash = "sha256:f7c2be1d2f3c3c3160d441802406b206c2b76f5947b11115e6df10c6c65e66c2"},
]
[package.dependencies]
@@ -127,16 +127,17 @@ brotli = ["brotli", "brotlicffi"]
cli = ["click (==8.*)", "pygments (==2.*)", "rich (>=10,<14)"]
http2 = ["h2 (>=3,<5)"]
socks = ["socksio (==1.*)"]
+zstd = ["zstandard (>=0.18.0)"]
[[package]]
name = "idna"
-version = "3.7"
+version = "3.8"
description = "Internationalized Domain Names in Applications (IDNA)"
optional = false
-python-versions = ">=3.5"
+python-versions = ">=3.6"
files = [
- {file = "idna-3.7-py3-none-any.whl", hash = "sha256:82fee1fc78add43492d3a1898bfa6d8a904cc97d8427f683ed8e798d07761aa0"},
- {file = "idna-3.7.tar.gz", hash = "sha256:028ff3aadf0609c1fd278d8ea3089299412a7a8b9bd005dd08b9f8285bcb5cfc"},
+ {file = "idna-3.8-py3-none-any.whl", hash = "sha256:050b4e5baadcd44d760cedbd2b8e639f2ff89bbc7a5730fcc662954303377aac"},
+ {file = "idna-3.8.tar.gz", hash = "sha256:d838c2c0ed6fced7693d5e8ab8e734d5f8fda53a039c0164afb0b82e771e3603"},
]
[[package]]
@@ -472,13 +473,13 @@ files = [
[[package]]
name = "types-python-dateutil"
-version = "2.9.0.20240316"
+version = "2.9.0.20240821"
description = "Typing stubs for python-dateutil"
optional = false
python-versions = ">=3.8"
files = [
- {file = "types-python-dateutil-2.9.0.20240316.tar.gz", hash = "sha256:5d2f2e240b86905e40944dd787db6da9263f0deabef1076ddaed797351ec0202"},
- {file = "types_python_dateutil-2.9.0.20240316-py3-none-any.whl", hash = "sha256:6b8cb66d960771ce5ff974e9dd45e38facb81718cc1e208b10b1baccbfdbee3b"},
+ {file = "types-python-dateutil-2.9.0.20240821.tar.gz", hash = "sha256:9649d1dcb6fef1046fb18bebe9ea2aa0028b160918518c34589a46045f6ebd98"},
+ {file = "types_python_dateutil-2.9.0.20240821-py3-none-any.whl", hash = "sha256:f5889fcb4e63ed4aaa379b44f93c32593d50b9a94c9a60a0c854d8cc3511cd57"},
]
[[package]]
diff --git a/pyproject.toml b/pyproject.toml
index 58c6d0b..a6542be 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
[tool.poetry]
name = "vocode-api"
-version = "0.0.47"
+version = "0.0.48"
description = ""
readme = "README.md"
authors = []
diff --git a/reference.md b/reference.md
index c67b44d..6673b24 100644
--- a/reference.md
+++ b/reference.md
@@ -1507,6 +1507,14 @@ client.agents.create_agent(
-
+**idle_time_seconds:** `typing.Optional[int]`
+
+
+
+
+
+-
+
**llm_temperature:** `typing.Optional[float]`
@@ -1739,6 +1747,14 @@ client.agents.update_agent(
-
+**idle_time_seconds:** `typing.Optional[AgentUpdateParamsIdleTimeSeconds]`
+
+
+
+
+
+-
+
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
diff --git a/src/vocode/__init__.py b/src/vocode/__init__.py
index 4c75008..ff40fce 100644
--- a/src/vocode/__init__.py
+++ b/src/vocode/__init__.py
@@ -49,6 +49,7 @@
AgentUpdateParamsDeepgramKeywords,
AgentUpdateParamsDeepgramKeywordsZeroValue,
AgentUpdateParamsEndpointingSensitivity,
+ AgentUpdateParamsIdleTimeSeconds,
AgentUpdateParamsInitialMessage,
AgentUpdateParamsInitialMessageDelay,
AgentUpdateParamsInterruptSensitivity,
@@ -318,6 +319,7 @@
"AgentUpdateParamsDeepgramKeywords",
"AgentUpdateParamsDeepgramKeywordsZeroValue",
"AgentUpdateParamsEndpointingSensitivity",
+ "AgentUpdateParamsIdleTimeSeconds",
"AgentUpdateParamsInitialMessage",
"AgentUpdateParamsInitialMessageDelay",
"AgentUpdateParamsInterruptSensitivity",
diff --git a/src/vocode/agents/client.py b/src/vocode/agents/client.py
index ca444c4..8a27ad9 100644
--- a/src/vocode/agents/client.py
+++ b/src/vocode/agents/client.py
@@ -43,6 +43,7 @@
from ..types.agent_update_params_run_do_not_call_detection import AgentUpdateParamsRunDoNotCallDetection
from ..types.agent_update_params_llm_fallback import AgentUpdateParamsLlmFallback
from ..types.agent_update_params_deepgram_keywords import AgentUpdateParamsDeepgramKeywords
+from ..types.agent_update_params_idle_time_seconds import AgentUpdateParamsIdleTimeSeconds
from ..core.client_wrapper import AsyncClientWrapper
# this is used as the default value for optional parameters
@@ -206,6 +207,7 @@ def create_agent(
run_do_not_call_detection: typing.Optional[bool] = OMIT,
llm_fallback: typing.Optional[InternalLlmFallback] = OMIT,
deepgram_keywords: typing.Optional[typing.Dict[str, typing.Optional[AgentParamsDeepgramKeywordsValue]]] = OMIT,
+ idle_time_seconds: typing.Optional[int] = OMIT,
llm_temperature: typing.Optional[float] = OMIT,
request_options: typing.Optional[RequestOptions] = None,
) -> Agent:
@@ -254,6 +256,8 @@ def create_agent(
deepgram_keywords : typing.Optional[typing.Dict[str, typing.Optional[AgentParamsDeepgramKeywordsValue]]]
+ idle_time_seconds : typing.Optional[int]
+
llm_temperature : typing.Optional[float]
request_options : typing.Optional[RequestOptions]
@@ -301,6 +305,7 @@ def create_agent(
"run_do_not_call_detection": run_do_not_call_detection,
"llm_fallback": llm_fallback,
"deepgram_keywords": deepgram_keywords,
+ "idle_time_seconds": idle_time_seconds,
"llm_temperature": llm_temperature,
},
request_options=request_options,
@@ -355,6 +360,7 @@ def update_agent(
run_do_not_call_detection: typing.Optional[AgentUpdateParamsRunDoNotCallDetection] = OMIT,
llm_fallback: typing.Optional[AgentUpdateParamsLlmFallback] = OMIT,
deepgram_keywords: typing.Optional[AgentUpdateParamsDeepgramKeywords] = OMIT,
+ idle_time_seconds: typing.Optional[AgentUpdateParamsIdleTimeSeconds] = OMIT,
request_options: typing.Optional[RequestOptions] = None,
) -> Agent:
"""
@@ -404,6 +410,8 @@ def update_agent(
deepgram_keywords : typing.Optional[AgentUpdateParamsDeepgramKeywords]
+ idle_time_seconds : typing.Optional[AgentUpdateParamsIdleTimeSeconds]
+
request_options : typing.Optional[RequestOptions]
Request-specific configuration.
@@ -451,6 +459,7 @@ def update_agent(
"run_do_not_call_detection": run_do_not_call_detection,
"llm_fallback": llm_fallback,
"deepgram_keywords": deepgram_keywords,
+ "idle_time_seconds": idle_time_seconds,
},
request_options=request_options,
omit=OMIT,
@@ -653,6 +662,7 @@ async def create_agent(
run_do_not_call_detection: typing.Optional[bool] = OMIT,
llm_fallback: typing.Optional[InternalLlmFallback] = OMIT,
deepgram_keywords: typing.Optional[typing.Dict[str, typing.Optional[AgentParamsDeepgramKeywordsValue]]] = OMIT,
+ idle_time_seconds: typing.Optional[int] = OMIT,
llm_temperature: typing.Optional[float] = OMIT,
request_options: typing.Optional[RequestOptions] = None,
) -> Agent:
@@ -701,6 +711,8 @@ async def create_agent(
deepgram_keywords : typing.Optional[typing.Dict[str, typing.Optional[AgentParamsDeepgramKeywordsValue]]]
+ idle_time_seconds : typing.Optional[int]
+
llm_temperature : typing.Optional[float]
request_options : typing.Optional[RequestOptions]
@@ -756,6 +768,7 @@ async def main() -> None:
"run_do_not_call_detection": run_do_not_call_detection,
"llm_fallback": llm_fallback,
"deepgram_keywords": deepgram_keywords,
+ "idle_time_seconds": idle_time_seconds,
"llm_temperature": llm_temperature,
},
request_options=request_options,
@@ -810,6 +823,7 @@ async def update_agent(
run_do_not_call_detection: typing.Optional[AgentUpdateParamsRunDoNotCallDetection] = OMIT,
llm_fallback: typing.Optional[AgentUpdateParamsLlmFallback] = OMIT,
deepgram_keywords: typing.Optional[AgentUpdateParamsDeepgramKeywords] = OMIT,
+ idle_time_seconds: typing.Optional[AgentUpdateParamsIdleTimeSeconds] = OMIT,
request_options: typing.Optional[RequestOptions] = None,
) -> Agent:
"""
@@ -859,6 +873,8 @@ async def update_agent(
deepgram_keywords : typing.Optional[AgentUpdateParamsDeepgramKeywords]
+ idle_time_seconds : typing.Optional[AgentUpdateParamsIdleTimeSeconds]
+
request_options : typing.Optional[RequestOptions]
Request-specific configuration.
@@ -914,6 +930,7 @@ async def main() -> None:
"run_do_not_call_detection": run_do_not_call_detection,
"llm_fallback": llm_fallback,
"deepgram_keywords": deepgram_keywords,
+ "idle_time_seconds": idle_time_seconds,
},
request_options=request_options,
omit=OMIT,
diff --git a/src/vocode/core/client_wrapper.py b/src/vocode/core/client_wrapper.py
index 4af4767..a358ea0 100644
--- a/src/vocode/core/client_wrapper.py
+++ b/src/vocode/core/client_wrapper.py
@@ -22,7 +22,7 @@ def get_headers(self) -> typing.Dict[str, str]:
headers: typing.Dict[str, str] = {
"X-Fern-Language": "Python",
"X-Fern-SDK-Name": "vocode-api",
- "X-Fern-SDK-Version": "0.0.47",
+ "X-Fern-SDK-Version": "0.0.48",
}
token = self._get_token()
if token is not None:
diff --git a/src/vocode/types/__init__.py b/src/vocode/types/__init__.py
index 6d878b9..f0354d0 100644
--- a/src/vocode/types/__init__.py
+++ b/src/vocode/types/__init__.py
@@ -50,6 +50,7 @@
from .agent_update_params_deepgram_keywords import AgentUpdateParamsDeepgramKeywords
from .agent_update_params_deepgram_keywords_zero_value import AgentUpdateParamsDeepgramKeywordsZeroValue
from .agent_update_params_endpointing_sensitivity import AgentUpdateParamsEndpointingSensitivity
+from .agent_update_params_idle_time_seconds import AgentUpdateParamsIdleTimeSeconds
from .agent_update_params_initial_message import AgentUpdateParamsInitialMessage
from .agent_update_params_initial_message_delay import AgentUpdateParamsInitialMessageDelay
from .agent_update_params_interrupt_sensitivity import AgentUpdateParamsInterruptSensitivity
@@ -309,6 +310,7 @@
"AgentUpdateParamsDeepgramKeywords",
"AgentUpdateParamsDeepgramKeywordsZeroValue",
"AgentUpdateParamsEndpointingSensitivity",
+ "AgentUpdateParamsIdleTimeSeconds",
"AgentUpdateParamsInitialMessage",
"AgentUpdateParamsInitialMessageDelay",
"AgentUpdateParamsInterruptSensitivity",
diff --git a/src/vocode/types/agent.py b/src/vocode/types/agent.py
index be0d500..7e20032 100644
--- a/src/vocode/types/agent.py
+++ b/src/vocode/types/agent.py
@@ -42,6 +42,7 @@ class Agent(UniversalBaseModel):
run_do_not_call_detection: typing.Optional[bool] = None
llm_fallback: typing.Optional[InternalLlmFallback] = None
deepgram_keywords: typing.Optional[typing.Dict[str, typing.Optional[AgentDeepgramKeywordsValue]]] = None
+ idle_time_seconds: typing.Optional[int] = None
llm_temperature: typing.Optional[float] = None
if IS_PYDANTIC_V2:
diff --git a/src/vocode/types/agent_params.py b/src/vocode/types/agent_params.py
index e9104ea..2c31fe0 100644
--- a/src/vocode/types/agent_params.py
+++ b/src/vocode/types/agent_params.py
@@ -40,6 +40,7 @@ class AgentParams(UniversalBaseModel):
run_do_not_call_detection: typing.Optional[bool] = None
llm_fallback: typing.Optional[InternalLlmFallback] = None
deepgram_keywords: typing.Optional[typing.Dict[str, typing.Optional[AgentParamsDeepgramKeywordsValue]]] = None
+ idle_time_seconds: typing.Optional[int] = None
llm_temperature: typing.Optional[float] = None
if IS_PYDANTIC_V2:
diff --git a/src/vocode/types/agent_update_params.py b/src/vocode/types/agent_update_params.py
index 93dc160..ca386f1 100644
--- a/src/vocode/types/agent_update_params.py
+++ b/src/vocode/types/agent_update_params.py
@@ -23,6 +23,7 @@
from .agent_update_params_run_do_not_call_detection import AgentUpdateParamsRunDoNotCallDetection
from .agent_update_params_llm_fallback import AgentUpdateParamsLlmFallback
from .agent_update_params_deepgram_keywords import AgentUpdateParamsDeepgramKeywords
+from .agent_update_params_idle_time_seconds import AgentUpdateParamsIdleTimeSeconds
from ..core.pydantic_utilities import IS_PYDANTIC_V2
import pydantic
@@ -49,6 +50,7 @@ class AgentUpdateParams(UniversalBaseModel):
run_do_not_call_detection: typing.Optional[AgentUpdateParamsRunDoNotCallDetection] = None
llm_fallback: typing.Optional[AgentUpdateParamsLlmFallback] = None
deepgram_keywords: typing.Optional[AgentUpdateParamsDeepgramKeywords] = None
+ idle_time_seconds: typing.Optional[AgentUpdateParamsIdleTimeSeconds] = None
if IS_PYDANTIC_V2:
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
diff --git a/src/vocode/types/agent_update_params_idle_time_seconds.py b/src/vocode/types/agent_update_params_idle_time_seconds.py
new file mode 100644
index 0000000..7076a67
--- /dev/null
+++ b/src/vocode/types/agent_update_params_idle_time_seconds.py
@@ -0,0 +1,6 @@
+# This file was auto-generated by Fern from our API Definition.
+
+import typing
+from .undefined import Undefined
+
+AgentUpdateParamsIdleTimeSeconds = typing.Union[int, Undefined]
diff --git a/src/vocode/types/create_call_agent_params.py b/src/vocode/types/create_call_agent_params.py
index 63bc2d0..ed1d237 100644
--- a/src/vocode/types/create_call_agent_params.py
+++ b/src/vocode/types/create_call_agent_params.py
@@ -42,6 +42,7 @@ class CreateCallAgentParams(UniversalBaseModel):
deepgram_keywords: typing.Optional[
typing.Dict[str, typing.Optional[CreateCallAgentParamsDeepgramKeywordsValue]]
] = None
+ idle_time_seconds: typing.Optional[int] = None
llm_temperature: typing.Optional[float] = None
if IS_PYDANTIC_V2:
diff --git a/src/vocode/types/normalized_agent.py b/src/vocode/types/normalized_agent.py
index 37d58d0..ff1d972 100644
--- a/src/vocode/types/normalized_agent.py
+++ b/src/vocode/types/normalized_agent.py
@@ -39,6 +39,7 @@ class NormalizedAgent(UniversalBaseModel):
run_do_not_call_detection: typing.Optional[bool] = None
llm_fallback: typing.Optional[InternalLlmFallback] = None
deepgram_keywords: typing.Optional[typing.Dict[str, typing.Optional[NormalizedAgentDeepgramKeywordsValue]]] = None
+ idle_time_seconds: typing.Optional[int] = None
llm_temperature: typing.Optional[float] = None
if IS_PYDANTIC_V2: