Skip to content

🌿 Fern Regeneration -- August 7, 2025 #603

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "elevenlabs"

[tool.poetry]
name = "elevenlabs"
version = "v2.9.1"
version = "v2.9.2"
description = ""
readme = "README.md"
authors = []
Expand Down
40 changes: 20 additions & 20 deletions reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,7 @@ Defaults to None.
<dl>
<dd>

**apply_text_normalization:** `typing.Optional[BodyTextToSpeechV1TextToSpeechVoiceIdPostApplyTextNormalization]` — This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With 'on', text normalization will always be applied, while with 'off', it will be skipped. For 'eleven_turbo_v2_5' and 'eleven_flash_v2_5' models, text normalization can only be enabled with Enterprise plans.
**apply_text_normalization:** `typing.Optional[BodyTextToSpeechV1TextToSpeechVoiceIdPostApplyTextNormalization]` — This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With 'on', text normalization will always be applied, while with 'off', it will be skipped. Cannot be turned on for 'eleven_turbo_v2_5' or 'eleven_flash_v2_5' models.

</dd>
</dl>
Expand Down Expand Up @@ -869,7 +869,7 @@ Defaults to None.

**apply_text_normalization:** `typing.Optional[
BodyTextToSpeechWithTimestampsV1TextToSpeechVoiceIdWithTimestampsPostApplyTextNormalization
]` — This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With 'on', text normalization will always be applied, while with 'off', it will be skipped. For 'eleven_turbo_v2_5' and 'eleven_flash_v2_5' models, text normalization can only be enabled with Enterprise plans.
]` — This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With 'on', text normalization will always be applied, while with 'off', it will be skipped. Cannot be turned on for 'eleven_turbo_v2_5' or 'eleven_flash_v2_5' models.

</dd>
</dl>
Expand Down Expand Up @@ -1081,7 +1081,7 @@ Defaults to None.

**apply_text_normalization:** `typing.Optional[
BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalization
]` — This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With 'on', text normalization will always be applied, while with 'off', it will be skipped. For 'eleven_turbo_v2_5' and 'eleven_flash_v2_5' models, text normalization can only be enabled with Enterprise plans.
]` — This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With 'on', text normalization will always be applied, while with 'off', it will be skipped. Cannot be turned on for 'eleven_turbo_v2_5' or 'eleven_flash_v2_5' models.

</dd>
</dl>
Expand Down Expand Up @@ -1295,7 +1295,7 @@ Defaults to None.

**apply_text_normalization:** `typing.Optional[
BodyTextToSpeechStreamingWithTimestampsV1TextToSpeechVoiceIdStreamWithTimestampsPostApplyTextNormalization
]` — This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With 'on', text normalization will always be applied, while with 'off', it will be skipped. For 'eleven_turbo_v2_5' and 'eleven_flash_v2_5' models, text normalization can only be enabled with Enterprise plans.
]` — This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With 'on', text normalization will always be applied, while with 'off', it will be skipped. Cannot be turned on for 'eleven_turbo_v2_5' or 'eleven_flash_v2_5' models.

</dd>
</dl>
Expand Down Expand Up @@ -5716,22 +5716,6 @@ client.conversational_ai.conversations.get_webrtc_token(
<dl>
<dd>

**source:** `typing.Optional[ConversationInitiationSource]` — The source of the conversation initiation.

</dd>
</dl>

<dl>
<dd>

**version:** `typing.Optional[str]` — The SDK version number

</dd>
</dl>

<dl>
<dd>

**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.

</dd>
Expand Down Expand Up @@ -6172,6 +6156,14 @@ client.conversational_ai.agents.create(
<dl>
<dd>

**workflow:** `typing.Optional[typing.Optional[typing.Any]]`

</dd>
</dl>

<dl>
<dd>

**name:** `typing.Optional[str]` — A name to make the agent easier to find

</dd>
Expand Down Expand Up @@ -6414,6 +6406,14 @@ client.conversational_ai.agents.update(
<dl>
<dd>

**workflow:** `typing.Optional[typing.Optional[typing.Any]]`

</dd>
</dl>

<dl>
<dd>

**name:** `typing.Optional[str]` — A name to make the agent easier to find

</dd>
Expand Down
10 changes: 4 additions & 6 deletions src/elevenlabs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
AdditionalFormatResponseModel,
AdditionalFormats,
Age,
AgentBan,
AgentCallLimits,
AgentConfig,
AgentConfigOverride,
Expand Down Expand Up @@ -190,6 +189,7 @@
ConversationSimulationSpecification,
ConversationSimulationSpecificationDynamicVariablesValue,
ConversationSummaryResponseModel,
ConversationSummaryResponseModelDirection,
ConversationSummaryResponseModelStatus,
ConversationTokenDbModel,
ConversationTokenPurpose,
Expand Down Expand Up @@ -407,8 +407,6 @@
McpServersResponseModel,
McpToolApprovalHash,
McpToolApprovalPolicy,
McpToolConfigInput,
McpToolConfigOutput,
MetricRecord,
MetricType,
Model,
Expand Down Expand Up @@ -557,6 +555,7 @@
SpeechHistoryItemResponseModelVoiceCategory,
SpeechToTextCharacterResponseModel,
SpeechToTextChunkResponseModel,
SpeechToTextWebhookResponseModel,
SpeechToTextWordResponseModel,
SpeechToTextWordResponseModelType,
SrtExportOptions,
Expand Down Expand Up @@ -814,7 +813,6 @@
"AdditionalFormatResponseModel",
"AdditionalFormats",
"Age",
"AgentBan",
"AgentCallLimits",
"AgentConfig",
"AgentConfigOverride",
Expand Down Expand Up @@ -1008,6 +1006,7 @@
"ConversationSimulationSpecification",
"ConversationSimulationSpecificationDynamicVariablesValue",
"ConversationSummaryResponseModel",
"ConversationSummaryResponseModelDirection",
"ConversationSummaryResponseModelStatus",
"ConversationTokenDbModel",
"ConversationTokenPurpose",
Expand Down Expand Up @@ -1231,8 +1230,6 @@
"McpServersResponseModel",
"McpToolApprovalHash",
"McpToolApprovalPolicy",
"McpToolConfigInput",
"McpToolConfigOutput",
"MetricRecord",
"MetricType",
"Model",
Expand Down Expand Up @@ -1395,6 +1392,7 @@
"SpeechToTextConvertRequestFileFormat",
"SpeechToTextConvertRequestTimestampsGranularity",
"SpeechToTextConvertResponse",
"SpeechToTextWebhookResponseModel",
"SpeechToTextWordResponseModel",
"SpeechToTextWordResponseModelType",
"SrtExportOptions",
Expand Down
16 changes: 16 additions & 0 deletions src/elevenlabs/conversational_ai/agents/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ def create(
*,
conversation_config: ConversationalConfig,
platform_settings: typing.Optional[AgentPlatformSettingsRequestModel] = OMIT,
workflow: typing.Optional[typing.Optional[typing.Any]] = OMIT,
name: typing.Optional[str] = OMIT,
tags: typing.Optional[typing.Sequence[str]] = OMIT,
request_options: typing.Optional[RequestOptions] = None,
Expand All @@ -64,6 +65,8 @@ def create(
platform_settings : typing.Optional[AgentPlatformSettingsRequestModel]
Platform settings for the agent are all settings that aren't related to the conversation orchestration and content.

workflow : typing.Optional[typing.Optional[typing.Any]]

name : typing.Optional[str]
A name to make the agent easier to find

Expand Down Expand Up @@ -92,6 +95,7 @@ def create(
_response = self._raw_client.create(
conversation_config=conversation_config,
platform_settings=platform_settings,
workflow=workflow,
name=name,
tags=tags,
request_options=request_options,
Expand Down Expand Up @@ -165,6 +169,7 @@ def update(
*,
conversation_config: typing.Optional[ConversationalConfig] = OMIT,
platform_settings: typing.Optional[AgentPlatformSettingsRequestModel] = OMIT,
workflow: typing.Optional[typing.Optional[typing.Any]] = OMIT,
name: typing.Optional[str] = OMIT,
tags: typing.Optional[typing.Sequence[str]] = OMIT,
request_options: typing.Optional[RequestOptions] = None,
Expand All @@ -183,6 +188,8 @@ def update(
platform_settings : typing.Optional[AgentPlatformSettingsRequestModel]
Platform settings for the agent are all settings that aren't related to the conversation orchestration and content.

workflow : typing.Optional[typing.Optional[typing.Any]]

name : typing.Optional[str]
A name to make the agent easier to find

Expand Down Expand Up @@ -212,6 +219,7 @@ def update(
agent_id,
conversation_config=conversation_config,
platform_settings=platform_settings,
workflow=workflow,
name=name,
tags=tags,
request_options=request_options,
Expand Down Expand Up @@ -457,6 +465,7 @@ async def create(
*,
conversation_config: ConversationalConfig,
platform_settings: typing.Optional[AgentPlatformSettingsRequestModel] = OMIT,
workflow: typing.Optional[typing.Optional[typing.Any]] = OMIT,
name: typing.Optional[str] = OMIT,
tags: typing.Optional[typing.Sequence[str]] = OMIT,
request_options: typing.Optional[RequestOptions] = None,
Expand All @@ -472,6 +481,8 @@ async def create(
platform_settings : typing.Optional[AgentPlatformSettingsRequestModel]
Platform settings for the agent are all settings that aren't related to the conversation orchestration and content.

workflow : typing.Optional[typing.Optional[typing.Any]]

name : typing.Optional[str]
A name to make the agent easier to find

Expand Down Expand Up @@ -508,6 +519,7 @@ async def main() -> None:
_response = await self._raw_client.create(
conversation_config=conversation_config,
platform_settings=platform_settings,
workflow=workflow,
name=name,
tags=tags,
request_options=request_options,
Expand Down Expand Up @@ -599,6 +611,7 @@ async def update(
*,
conversation_config: typing.Optional[ConversationalConfig] = OMIT,
platform_settings: typing.Optional[AgentPlatformSettingsRequestModel] = OMIT,
workflow: typing.Optional[typing.Optional[typing.Any]] = OMIT,
name: typing.Optional[str] = OMIT,
tags: typing.Optional[typing.Sequence[str]] = OMIT,
request_options: typing.Optional[RequestOptions] = None,
Expand All @@ -617,6 +630,8 @@ async def update(
platform_settings : typing.Optional[AgentPlatformSettingsRequestModel]
Platform settings for the agent are all settings that aren't related to the conversation orchestration and content.

workflow : typing.Optional[typing.Optional[typing.Any]]

name : typing.Optional[str]
A name to make the agent easier to find

Expand Down Expand Up @@ -654,6 +669,7 @@ async def main() -> None:
agent_id,
conversation_config=conversation_config,
platform_settings=platform_settings,
workflow=workflow,
name=name,
tags=tags,
request_options=request_options,
Expand Down
16 changes: 16 additions & 0 deletions src/elevenlabs/conversational_ai/agents/raw_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ def create(
*,
conversation_config: ConversationalConfig,
platform_settings: typing.Optional[AgentPlatformSettingsRequestModel] = OMIT,
workflow: typing.Optional[typing.Optional[typing.Any]] = OMIT,
name: typing.Optional[str] = OMIT,
tags: typing.Optional[typing.Sequence[str]] = OMIT,
request_options: typing.Optional[RequestOptions] = None,
Expand All @@ -49,6 +50,8 @@ def create(
platform_settings : typing.Optional[AgentPlatformSettingsRequestModel]
Platform settings for the agent are all settings that aren't related to the conversation orchestration and content.

workflow : typing.Optional[typing.Optional[typing.Any]]

name : typing.Optional[str]
A name to make the agent easier to find

Expand All @@ -73,6 +76,7 @@ def create(
"platform_settings": convert_and_respect_annotation_metadata(
object_=platform_settings, annotation=AgentPlatformSettingsRequestModel, direction="write"
),
"workflow": workflow,
"name": name,
"tags": tags,
},
Expand Down Expand Up @@ -204,6 +208,7 @@ def update(
*,
conversation_config: typing.Optional[ConversationalConfig] = OMIT,
platform_settings: typing.Optional[AgentPlatformSettingsRequestModel] = OMIT,
workflow: typing.Optional[typing.Optional[typing.Any]] = OMIT,
name: typing.Optional[str] = OMIT,
tags: typing.Optional[typing.Sequence[str]] = OMIT,
request_options: typing.Optional[RequestOptions] = None,
Expand All @@ -222,6 +227,8 @@ def update(
platform_settings : typing.Optional[AgentPlatformSettingsRequestModel]
Platform settings for the agent are all settings that aren't related to the conversation orchestration and content.

workflow : typing.Optional[typing.Optional[typing.Any]]

name : typing.Optional[str]
A name to make the agent easier to find

Expand All @@ -246,6 +253,7 @@ def update(
"platform_settings": convert_and_respect_annotation_metadata(
object_=platform_settings, annotation=AgentPlatformSettingsRequestModel, direction="write"
),
"workflow": workflow,
"name": name,
"tags": tags,
},
Expand Down Expand Up @@ -573,6 +581,7 @@ async def create(
*,
conversation_config: ConversationalConfig,
platform_settings: typing.Optional[AgentPlatformSettingsRequestModel] = OMIT,
workflow: typing.Optional[typing.Optional[typing.Any]] = OMIT,
name: typing.Optional[str] = OMIT,
tags: typing.Optional[typing.Sequence[str]] = OMIT,
request_options: typing.Optional[RequestOptions] = None,
Expand All @@ -588,6 +597,8 @@ async def create(
platform_settings : typing.Optional[AgentPlatformSettingsRequestModel]
Platform settings for the agent are all settings that aren't related to the conversation orchestration and content.

workflow : typing.Optional[typing.Optional[typing.Any]]

name : typing.Optional[str]
A name to make the agent easier to find

Expand All @@ -612,6 +623,7 @@ async def create(
"platform_settings": convert_and_respect_annotation_metadata(
object_=platform_settings, annotation=AgentPlatformSettingsRequestModel, direction="write"
),
"workflow": workflow,
"name": name,
"tags": tags,
},
Expand Down Expand Up @@ -745,6 +757,7 @@ async def update(
*,
conversation_config: typing.Optional[ConversationalConfig] = OMIT,
platform_settings: typing.Optional[AgentPlatformSettingsRequestModel] = OMIT,
workflow: typing.Optional[typing.Optional[typing.Any]] = OMIT,
name: typing.Optional[str] = OMIT,
tags: typing.Optional[typing.Sequence[str]] = OMIT,
request_options: typing.Optional[RequestOptions] = None,
Expand All @@ -763,6 +776,8 @@ async def update(
platform_settings : typing.Optional[AgentPlatformSettingsRequestModel]
Platform settings for the agent are all settings that aren't related to the conversation orchestration and content.

workflow : typing.Optional[typing.Optional[typing.Any]]

name : typing.Optional[str]
A name to make the agent easier to find

Expand All @@ -787,6 +802,7 @@ async def update(
"platform_settings": convert_and_respect_annotation_metadata(
object_=platform_settings, annotation=AgentPlatformSettingsRequestModel, direction="write"
),
"workflow": workflow,
"name": name,
"tags": tags,
},
Expand Down
Loading