@@ -163,7 +163,7 @@ async def _execute_and_callback():
163163 asyncio .run_coroutine_threadsafe (_execute_and_callback (), self ._loop )
164164
165165
166- class ConversationConfig :
166+ class ConversationInitiationData :
167167 """Configuration options for the Conversation."""
168168
169169 def __init__ (
@@ -181,7 +181,7 @@ class Conversation:
181181 client : BaseElevenLabs
182182 agent_id : str
183183 requires_auth : bool
184- config : ConversationConfig
184+ config : ConversationInitiationData
185185 audio_interface : AudioInterface
186186 client_tools : Optional [ClientTools ]
187187 callback_agent_response : Optional [Callable [[str ], None ]]
@@ -201,7 +201,7 @@ def __init__(
201201 * ,
202202 requires_auth : bool ,
203203 audio_interface : AudioInterface ,
204- config : Optional [ConversationConfig ] = None ,
204+ config : Optional [ConversationInitiationData ] = None ,
205205 client_tools : Optional [ClientTools ] = None ,
206206 callback_agent_response : Optional [Callable [[str ], None ]] = None ,
207207 callback_agent_response_correction : Optional [Callable [[str , str ], None ]] = None ,
@@ -231,7 +231,7 @@ def __init__(
231231 self .requires_auth = requires_auth
232232 self .audio_interface = audio_interface
233233 self .callback_agent_response = callback_agent_response
234- self .config = config or ConversationConfig ()
234+ self .config = config or ConversationInitiationData ()
235235 self .client_tools = client_tools or ClientTools ()
236236 self .callback_agent_response_correction = callback_agent_response_correction
237237 self .callback_user_transcript = callback_user_transcript
0 commit comments