From 087abc9bb901687403c2f4f0bbdd9bfedca648fc Mon Sep 17 00:00:00 2001 From: Paul Kompfner Date: Wed, 11 Mar 2026 09:56:32 -0400 Subject: [PATCH] Fix outdated CambTTSService docstring example --- src/pipecat/services/camb/tts.py | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/src/pipecat/services/camb/tts.py b/src/pipecat/services/camb/tts.py index 9918b2320..f458fa2e4 100644 --- a/src/pipecat/services/camb/tts.py +++ b/src/pipecat/services/camb/tts.py @@ -158,13 +158,20 @@ class CambTTSService(TTSService): Example:: # Basic usage with mars-flash (fast) - tts = CambTTSService(api_key="your-api-key", model="mars-flash") + tts = CambTTSService( + api_key="your-api-key", + settings=CambTTSService.Settings( + model="mars-flash" + ) + ) # High quality with mars-pro tts = CambTTSService( api_key="your-api-key", - voice_id=12345, - model="mars-pro", + settings=CambTTSService.Settings( + voice=12345, + model="mars-pro", + ) ) """