File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed
deepgram/clients/agent/v1/websocket Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -211,15 +211,6 @@ def __getitem__(self, key):
211
211
if "voice" in _dict and isinstance (_dict ["voice" ], dict ):
212
212
_dict ["voice" ] = CartesiaVoice .from_dict (_dict ["voice" ])
213
213
return _dict [key ]
214
-
215
- @dataclass
216
- class Language (BaseResponse ):
217
- """
218
- Define the language for the agent.
219
- """
220
-
221
- type : str = field (default = "en" )
222
-
223
214
@dataclass
224
215
class Think (BaseResponse ):
225
216
"""
@@ -301,8 +292,6 @@ class Agent(BaseResponse):
301
292
302
293
def __getitem__ (self , key ):
303
294
_dict = self .to_dict ()
304
- if "language" in _dict and isinstance (_dict ["language" ], dict ):
305
- _dict ["language" ] = Language .from_dict (_dict ["language" ])
306
295
if "listen" in _dict and isinstance (_dict ["listen" ], dict ):
307
296
_dict ["listen" ] = Listen .from_dict (_dict ["listen" ])
308
297
if "think" in _dict and isinstance (_dict ["think" ], dict ):
You can’t perform that action at this time.
0 commit comments