fix: pass list-type Deepgram settings as lists instead of stringifying

List-valued settings like keyterm, keywords, search, redact, and replace
were being converted to strings before being passed to the SDK connect()
method. The SDK expects lists so its encode_query can produce repeated
query params (keyterm=a&keyterm=b).
This commit is contained in:
Mark Backman
2026-03-17 18:16:58 -04:00
parent 248419a7c4
commit edf16c5533
2 changed files with 16 additions and 2 deletions

1
changelog/4063.fixed.md Normal file
View File

@@ -0,0 +1 @@
- Fixed Deepgram STT list-type settings (`keyterm`, `keywords`, `search`, `redact`, `replace`) being stringified instead of passed as lists to the SDK, which caused them to be sent as literal strings (e.g. `"['pipecat']"`) in the WebSocket query params.