From 256c8f87b4b107482a1685fa7126f3e999bd62aa Mon Sep 17 00:00:00 2001 From: Paul Kompfner Date: Fri, 6 Mar 2026 17:01:29 -0500 Subject: [PATCH 1/3] Add missing step 3 comment to LLM service init methods Adds the explicit "no params object" step 3 comment to all LLM services that skip from step 2 to step 4 in their settings initialization sequence, matching the pattern established in services that do have a params object. --- src/pipecat/services/azure/llm.py | 2 ++ src/pipecat/services/cerebras/llm.py | 2 ++ src/pipecat/services/deepseek/llm.py | 2 ++ src/pipecat/services/fireworks/llm.py | 2 ++ src/pipecat/services/google/llm_openai.py | 2 ++ src/pipecat/services/grok/llm.py | 2 ++ src/pipecat/services/groq/llm.py | 2 ++ src/pipecat/services/mistral/llm.py | 2 ++ src/pipecat/services/nvidia/llm.py | 2 ++ src/pipecat/services/ollama/llm.py | 2 ++ src/pipecat/services/openpipe/llm.py | 2 ++ src/pipecat/services/openrouter/llm.py | 2 ++ src/pipecat/services/perplexity/llm.py | 2 ++ src/pipecat/services/qwen/llm.py | 2 ++ src/pipecat/services/sambanova/llm.py | 2 ++ src/pipecat/services/together/llm.py | 2 ++ 16 files changed, 32 insertions(+) diff --git a/src/pipecat/services/azure/llm.py b/src/pipecat/services/azure/llm.py index 5f1ce2698..ce98d151a 100644 --- a/src/pipecat/services/azure/llm.py +++ b/src/pipecat/services/azure/llm.py @@ -64,6 +64,8 @@ class AzureLLMService(OpenAILLMService): _warn_deprecated_param("model", AzureLLMSettings, "model") default_settings.model = model + # 3. (No step 3, as there's no params object to apply) + # 4. Apply settings delta (canonical API, always wins) if settings is not None: default_settings.apply_update(settings) diff --git a/src/pipecat/services/cerebras/llm.py b/src/pipecat/services/cerebras/llm.py index c3b56ff29..0fe19bd75 100644 --- a/src/pipecat/services/cerebras/llm.py +++ b/src/pipecat/services/cerebras/llm.py @@ -64,6 +64,8 @@ class CerebrasLLMService(OpenAILLMService): _warn_deprecated_param("model", CerebrasLLMSettings, "model") default_settings.model = model + # 3. (No step 3, as there's no params object to apply) + # 4. Apply settings delta (canonical API, always wins) if settings is not None: default_settings.apply_update(settings) diff --git a/src/pipecat/services/deepseek/llm.py b/src/pipecat/services/deepseek/llm.py index 684e971ca..b91a2f443 100644 --- a/src/pipecat/services/deepseek/llm.py +++ b/src/pipecat/services/deepseek/llm.py @@ -64,6 +64,8 @@ class DeepSeekLLMService(OpenAILLMService): _warn_deprecated_param("model", DeepSeekLLMSettings, "model") default_settings.model = model + # 3. (No step 3, as there's no params object to apply) + # 4. Apply settings delta (canonical API, always wins) if settings is not None: default_settings.apply_update(settings) diff --git a/src/pipecat/services/fireworks/llm.py b/src/pipecat/services/fireworks/llm.py index ccc9107f6..b576462cb 100644 --- a/src/pipecat/services/fireworks/llm.py +++ b/src/pipecat/services/fireworks/llm.py @@ -64,6 +64,8 @@ class FireworksLLMService(OpenAILLMService): _warn_deprecated_param("model", FireworksLLMSettings, "model") default_settings.model = model + # 3. (No step 3, as there's no params object to apply) + # 4. Apply settings delta (canonical API, always wins) if settings is not None: default_settings.apply_update(settings) diff --git a/src/pipecat/services/google/llm_openai.py b/src/pipecat/services/google/llm_openai.py index 96e208fcb..cf89fa3a4 100644 --- a/src/pipecat/services/google/llm_openai.py +++ b/src/pipecat/services/google/llm_openai.py @@ -102,6 +102,8 @@ class GoogleLLMOpenAIBetaService(OpenAILLMService): _warn_deprecated_param("model", GoogleOpenAILLMSettings, "model") default_settings.model = model + # 3. (No step 3, as there's no params object to apply) + # 4. Apply settings delta (canonical API, always wins) if settings is not None: default_settings.apply_update(settings) diff --git a/src/pipecat/services/grok/llm.py b/src/pipecat/services/grok/llm.py index 59741cf9a..c95dd190f 100644 --- a/src/pipecat/services/grok/llm.py +++ b/src/pipecat/services/grok/llm.py @@ -119,6 +119,8 @@ class GrokLLMService(OpenAILLMService): _warn_deprecated_param("model", GrokLLMSettings, "model") default_settings.model = model + # 3. (No step 3, as there's no params object to apply) + # 4. Apply settings delta (canonical API, always wins) if settings is not None: default_settings.apply_update(settings) diff --git a/src/pipecat/services/groq/llm.py b/src/pipecat/services/groq/llm.py index d7fc7f939..eff88226a 100644 --- a/src/pipecat/services/groq/llm.py +++ b/src/pipecat/services/groq/llm.py @@ -63,6 +63,8 @@ class GroqLLMService(OpenAILLMService): _warn_deprecated_param("model", GroqLLMSettings, "model") default_settings.model = model + # 3. (No step 3, as there's no params object to apply) + # 4. Apply settings delta (canonical API, always wins) if settings is not None: default_settings.apply_update(settings) diff --git a/src/pipecat/services/mistral/llm.py b/src/pipecat/services/mistral/llm.py index 647a56bca..8e977ff7b 100644 --- a/src/pipecat/services/mistral/llm.py +++ b/src/pipecat/services/mistral/llm.py @@ -66,6 +66,8 @@ class MistralLLMService(OpenAILLMService): _warn_deprecated_param("model", MistralLLMSettings, "model") default_settings.model = model + # 3. (No step 3, as there's no params object to apply) + # 4. Apply settings delta (canonical API, always wins) if settings is not None: default_settings.apply_update(settings) diff --git a/src/pipecat/services/nvidia/llm.py b/src/pipecat/services/nvidia/llm.py index 48ccbaaf4..16b3a78c4 100644 --- a/src/pipecat/services/nvidia/llm.py +++ b/src/pipecat/services/nvidia/llm.py @@ -70,6 +70,8 @@ class NvidiaLLMService(OpenAILLMService): _warn_deprecated_param("model", NvidiaLLMSettings, "model") default_settings.model = model + # 3. (No step 3, as there's no params object to apply) + # 4. Apply settings delta (canonical API, always wins) if settings is not None: default_settings.apply_update(settings) diff --git a/src/pipecat/services/ollama/llm.py b/src/pipecat/services/ollama/llm.py index d1c0eeebd..4662d741b 100644 --- a/src/pipecat/services/ollama/llm.py +++ b/src/pipecat/services/ollama/llm.py @@ -62,6 +62,8 @@ class OLLamaLLMService(OpenAILLMService): _warn_deprecated_param("model", OllamaLLMSettings, "model") default_settings.model = model + # 3. (No step 3, as there's no params object to apply) + # 4. Apply settings delta (canonical API, always wins) if settings is not None: default_settings.apply_update(settings) diff --git a/src/pipecat/services/openpipe/llm.py b/src/pipecat/services/openpipe/llm.py index f6437feef..ee4fe611b 100644 --- a/src/pipecat/services/openpipe/llm.py +++ b/src/pipecat/services/openpipe/llm.py @@ -82,6 +82,8 @@ class OpenPipeLLMService(OpenAILLMService): _warn_deprecated_param("model", OpenPipeLLMSettings, "model") default_settings.model = model + # 3. (No step 3, as there's no params object to apply) + # 4. Apply settings delta (canonical API, always wins) if settings is not None: default_settings.apply_update(settings) diff --git a/src/pipecat/services/openrouter/llm.py b/src/pipecat/services/openrouter/llm.py index 03591de46..f9ac13d22 100644 --- a/src/pipecat/services/openrouter/llm.py +++ b/src/pipecat/services/openrouter/llm.py @@ -68,6 +68,8 @@ class OpenRouterLLMService(OpenAILLMService): _warn_deprecated_param("model", OpenRouterLLMSettings, "model") default_settings.model = model + # 3. (No step 3, as there's no params object to apply) + # 4. Apply settings delta (canonical API, always wins) if settings is not None: default_settings.apply_update(settings) diff --git a/src/pipecat/services/perplexity/llm.py b/src/pipecat/services/perplexity/llm.py index 137fdeeb9..7fe414023 100644 --- a/src/pipecat/services/perplexity/llm.py +++ b/src/pipecat/services/perplexity/llm.py @@ -71,6 +71,8 @@ class PerplexityLLMService(OpenAILLMService): _warn_deprecated_param("model", PerplexityLLMSettings, "model") default_settings.model = model + # 3. (No step 3, as there's no params object to apply) + # 4. Apply settings delta (canonical API, always wins) if settings is not None: default_settings.apply_update(settings) diff --git a/src/pipecat/services/qwen/llm.py b/src/pipecat/services/qwen/llm.py index e08566418..656b223b2 100644 --- a/src/pipecat/services/qwen/llm.py +++ b/src/pipecat/services/qwen/llm.py @@ -63,6 +63,8 @@ class QwenLLMService(OpenAILLMService): _warn_deprecated_param("model", QwenLLMSettings, "model") default_settings.model = model + # 3. (No step 3, as there's no params object to apply) + # 4. Apply settings delta (canonical API, always wins) if settings is not None: default_settings.apply_update(settings) diff --git a/src/pipecat/services/sambanova/llm.py b/src/pipecat/services/sambanova/llm.py index 0c92db098..0a0c53eaa 100644 --- a/src/pipecat/services/sambanova/llm.py +++ b/src/pipecat/services/sambanova/llm.py @@ -75,6 +75,8 @@ class SambaNovaLLMService(OpenAILLMService): # type: ignore _warn_deprecated_param("model", SambaNovaLLMSettings, "model") default_settings.model = model + # 3. (No step 3, as there's no params object to apply) + # 4. Apply settings delta (canonical API, always wins) if settings is not None: default_settings.apply_update(settings) diff --git a/src/pipecat/services/together/llm.py b/src/pipecat/services/together/llm.py index 2fa952a95..d39eb8ce6 100644 --- a/src/pipecat/services/together/llm.py +++ b/src/pipecat/services/together/llm.py @@ -63,6 +63,8 @@ class TogetherLLMService(OpenAILLMService): _warn_deprecated_param("model", TogetherLLMSettings, "model") default_settings.model = model + # 3. (No step 3, as there's no params object to apply) + # 4. Apply settings delta (canonical API, always wins) if settings is not None: default_settings.apply_update(settings) From 6088e6eb52303f8254b06554bcb15831cf35551a Mon Sep 17 00:00:00 2001 From: Paul Kompfner Date: Fri, 6 Mar 2026 17:25:07 -0500 Subject: [PATCH 2/3] Make budget_tokens optional in AnthropicThinkingConfig budget_tokens is required when type is "enabled" and rejected when type is "disabled" (this is validated by the server) --- src/pipecat/services/anthropic/llm.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/pipecat/services/anthropic/llm.py b/src/pipecat/services/anthropic/llm.py index 49f7f58b4..a11ec9b3e 100644 --- a/src/pipecat/services/anthropic/llm.py +++ b/src/pipecat/services/anthropic/llm.py @@ -76,16 +76,16 @@ class AnthropicThinkingConfig(BaseModel): type: Type of thinking mode (currently only "enabled" or "disabled"). budget_tokens: Maximum number of tokens for thinking. With today's models, the minimum is 1024. - Only allowed if type is "enabled". + Currently required when type is "enabled", not allowed when "disabled". """ # Why `| str` here? To not break compatibility in case Anthropic adds # more types in the future. type: Literal["enabled", "disabled"] | str - # Why not enforce minimnum of 1024 here? To not break compatibility in - # case Anthropic changes this requirement in the future. - budget_tokens: int + # No client-side validation on budget_tokens — we let the server + # enforce the rules so we stay forward-compatible if they change. + budget_tokens: Optional[int] = None @dataclass From 622d9279cbaeb1276de7c820b448a0d2a74ccc58 Mon Sep 17 00:00:00 2001 From: Paul Kompfner Date: Fri, 6 Mar 2026 22:30:15 -0500 Subject: [PATCH 3/3] Use exact service class names in LLMSettings docstrings --- src/pipecat/services/anthropic/llm.py | 2 +- src/pipecat/services/aws/llm.py | 2 +- src/pipecat/services/aws/nova_sonic/llm.py | 2 +- src/pipecat/services/azure/llm.py | 2 +- src/pipecat/services/azure/realtime/llm.py | 2 +- src/pipecat/services/cerebras/llm.py | 2 +- src/pipecat/services/deepseek/llm.py | 2 +- src/pipecat/services/fireworks/llm.py | 2 +- src/pipecat/services/google/gemini_live/llm.py | 2 +- src/pipecat/services/google/gemini_live/llm_vertex.py | 2 +- src/pipecat/services/google/llm.py | 2 +- src/pipecat/services/google/llm_openai.py | 2 +- src/pipecat/services/google/llm_vertex.py | 2 +- src/pipecat/services/grok/llm.py | 2 +- src/pipecat/services/grok/realtime/llm.py | 2 +- src/pipecat/services/groq/llm.py | 2 +- src/pipecat/services/mistral/llm.py | 2 +- src/pipecat/services/nvidia/llm.py | 2 +- src/pipecat/services/ollama/llm.py | 2 +- src/pipecat/services/openai/base_llm.py | 2 +- src/pipecat/services/openai/realtime/llm.py | 2 +- src/pipecat/services/openai_realtime_beta/azure.py | 2 +- src/pipecat/services/openai_realtime_beta/openai.py | 2 +- src/pipecat/services/openpipe/llm.py | 2 +- src/pipecat/services/openrouter/llm.py | 2 +- src/pipecat/services/perplexity/llm.py | 2 +- src/pipecat/services/qwen/llm.py | 2 +- src/pipecat/services/sambanova/llm.py | 2 +- src/pipecat/services/together/llm.py | 2 +- 29 files changed, 29 insertions(+), 29 deletions(-) diff --git a/src/pipecat/services/anthropic/llm.py b/src/pipecat/services/anthropic/llm.py index a11ec9b3e..f687b56c5 100644 --- a/src/pipecat/services/anthropic/llm.py +++ b/src/pipecat/services/anthropic/llm.py @@ -90,7 +90,7 @@ class AnthropicThinkingConfig(BaseModel): @dataclass class AnthropicLLMSettings(LLMSettings): - """Settings for Anthropic LLM services. + """Settings for AnthropicLLMService. Parameters: enable_prompt_caching: Whether to enable prompt caching. diff --git a/src/pipecat/services/aws/llm.py b/src/pipecat/services/aws/llm.py index 5b8c80996..bcc5028c4 100644 --- a/src/pipecat/services/aws/llm.py +++ b/src/pipecat/services/aws/llm.py @@ -72,7 +72,7 @@ except ModuleNotFoundError as e: @dataclass class AWSBedrockLLMSettings(LLMSettings): - """Settings for AWS Bedrock LLM services. + """Settings for AWSBedrockLLMService. Parameters: stop_sequences: List of strings that stop generation. diff --git a/src/pipecat/services/aws/nova_sonic/llm.py b/src/pipecat/services/aws/nova_sonic/llm.py index 3acc1d0fc..fa69a9c8a 100644 --- a/src/pipecat/services/aws/nova_sonic/llm.py +++ b/src/pipecat/services/aws/nova_sonic/llm.py @@ -227,7 +227,7 @@ class AudioConfig(BaseModel): @dataclass class AWSNovaSonicLLMSettings(LLMSettings): - """Settings for AWS Nova Sonic LLM service. + """Settings for AWSNovaSonicLLMService. Parameters: voice: Voice identifier for speech synthesis. diff --git a/src/pipecat/services/azure/llm.py b/src/pipecat/services/azure/llm.py index ce98d151a..1c9960e8a 100644 --- a/src/pipecat/services/azure/llm.py +++ b/src/pipecat/services/azure/llm.py @@ -19,7 +19,7 @@ from pipecat.services.settings import _warn_deprecated_param @dataclass class AzureLLMSettings(OpenAILLMSettings): - """Settings for Azure OpenAI LLM service.""" + """Settings for AzureLLMService.""" pass diff --git a/src/pipecat/services/azure/realtime/llm.py b/src/pipecat/services/azure/realtime/llm.py index 0de2217d8..bf91d484e 100644 --- a/src/pipecat/services/azure/realtime/llm.py +++ b/src/pipecat/services/azure/realtime/llm.py @@ -22,7 +22,7 @@ except ModuleNotFoundError as e: @dataclass class AzureRealtimeLLMSettings(OpenAIRealtimeLLMSettings): - """Settings for Azure Realtime LLM service.""" + """Settings for AzureRealtimeLLMService.""" pass diff --git a/src/pipecat/services/cerebras/llm.py b/src/pipecat/services/cerebras/llm.py index 0fe19bd75..d8dcf3d08 100644 --- a/src/pipecat/services/cerebras/llm.py +++ b/src/pipecat/services/cerebras/llm.py @@ -19,7 +19,7 @@ from pipecat.services.settings import _warn_deprecated_param @dataclass class CerebrasLLMSettings(OpenAILLMSettings): - """Settings for Cerebras LLM service.""" + """Settings for CerebrasLLMService.""" pass diff --git a/src/pipecat/services/deepseek/llm.py b/src/pipecat/services/deepseek/llm.py index b91a2f443..2286a98b2 100644 --- a/src/pipecat/services/deepseek/llm.py +++ b/src/pipecat/services/deepseek/llm.py @@ -19,7 +19,7 @@ from pipecat.services.settings import _warn_deprecated_param @dataclass class DeepSeekLLMSettings(OpenAILLMSettings): - """Settings for DeepSeek LLM service.""" + """Settings for DeepSeekLLMService.""" pass diff --git a/src/pipecat/services/fireworks/llm.py b/src/pipecat/services/fireworks/llm.py index b576462cb..cd7e91504 100644 --- a/src/pipecat/services/fireworks/llm.py +++ b/src/pipecat/services/fireworks/llm.py @@ -19,7 +19,7 @@ from pipecat.services.settings import _warn_deprecated_param @dataclass class FireworksLLMSettings(OpenAILLMSettings): - """Settings for Fireworks LLM service.""" + """Settings for FireworksLLMService.""" pass diff --git a/src/pipecat/services/google/gemini_live/llm.py b/src/pipecat/services/google/gemini_live/llm.py index d6fbe7ebe..58dcd2da8 100644 --- a/src/pipecat/services/google/gemini_live/llm.py +++ b/src/pipecat/services/google/gemini_live/llm.py @@ -607,7 +607,7 @@ class InputParams(BaseModel): @dataclass class GeminiLiveLLMSettings(LLMSettings): - """Settings for GeminiLiveLLMService and GeminiLiveVertexLLMService. + """Settings for GeminiLiveLLMService. Parameters: voice: TTS voice identifier (e.g. ``"Charon"``). diff --git a/src/pipecat/services/google/gemini_live/llm_vertex.py b/src/pipecat/services/google/gemini_live/llm_vertex.py index 9edd73e61..09aaeebbb 100644 --- a/src/pipecat/services/google/gemini_live/llm_vertex.py +++ b/src/pipecat/services/google/gemini_live/llm_vertex.py @@ -44,7 +44,7 @@ except ModuleNotFoundError as e: @dataclass class GeminiLiveVertexLLMSettings(GeminiLiveLLMSettings): - """Settings for Gemini Live Vertex LLM service.""" + """Settings for GeminiLiveVertexLLMService.""" pass diff --git a/src/pipecat/services/google/llm.py b/src/pipecat/services/google/llm.py index d5f025bcd..06f47bc2e 100644 --- a/src/pipecat/services/google/llm.py +++ b/src/pipecat/services/google/llm.py @@ -714,7 +714,7 @@ class GoogleThinkingConfig(BaseModel): @dataclass class GoogleLLMSettings(LLMSettings): - """Settings for Google LLM services. + """Settings for GoogleLLMService. Parameters: thinking: Thinking configuration. diff --git a/src/pipecat/services/google/llm_openai.py b/src/pipecat/services/google/llm_openai.py index cf89fa3a4..75fc6c54c 100644 --- a/src/pipecat/services/google/llm_openai.py +++ b/src/pipecat/services/google/llm_openai.py @@ -35,7 +35,7 @@ from pipecat.services.settings import _warn_deprecated_param @dataclass class GoogleOpenAILLMSettings(OpenAILLMSettings): - """Settings for Google OpenAI-compatible LLM service.""" + """Settings for GoogleLLMOpenAIBetaService.""" pass diff --git a/src/pipecat/services/google/llm_vertex.py b/src/pipecat/services/google/llm_vertex.py index cbad30c48..e40f15de6 100644 --- a/src/pipecat/services/google/llm_vertex.py +++ b/src/pipecat/services/google/llm_vertex.py @@ -42,7 +42,7 @@ except ModuleNotFoundError as e: @dataclass class GoogleVertexLLMSettings(GoogleLLMSettings): - """Settings for Google Vertex LLM service.""" + """Settings for GoogleVertexLLMService.""" pass diff --git a/src/pipecat/services/grok/llm.py b/src/pipecat/services/grok/llm.py index c95dd190f..144d91a16 100644 --- a/src/pipecat/services/grok/llm.py +++ b/src/pipecat/services/grok/llm.py @@ -72,7 +72,7 @@ class GrokContextAggregatorPair: @dataclass class GrokLLMSettings(OpenAILLMSettings): - """Settings for Grok LLM service.""" + """Settings for GrokLLMService.""" pass diff --git a/src/pipecat/services/grok/realtime/llm.py b/src/pipecat/services/grok/realtime/llm.py index f0fb170d4..7e252ebf5 100644 --- a/src/pipecat/services/grok/realtime/llm.py +++ b/src/pipecat/services/grok/realtime/llm.py @@ -94,7 +94,7 @@ class CurrentAudioResponse: @dataclass class GrokRealtimeLLMSettings(LLMSettings): - """Settings for Grok Realtime LLM services. + """Settings for GrokRealtimeLLMService. Parameters: session_properties: Grok Realtime session properties (voice, audio config, diff --git a/src/pipecat/services/groq/llm.py b/src/pipecat/services/groq/llm.py index eff88226a..e86c59391 100644 --- a/src/pipecat/services/groq/llm.py +++ b/src/pipecat/services/groq/llm.py @@ -18,7 +18,7 @@ from pipecat.services.settings import _warn_deprecated_param @dataclass class GroqLLMSettings(OpenAILLMSettings): - """Settings for Groq LLM service.""" + """Settings for GroqLLMService.""" pass diff --git a/src/pipecat/services/mistral/llm.py b/src/pipecat/services/mistral/llm.py index 8e977ff7b..8389613e0 100644 --- a/src/pipecat/services/mistral/llm.py +++ b/src/pipecat/services/mistral/llm.py @@ -21,7 +21,7 @@ from pipecat.services.settings import _warn_deprecated_param @dataclass class MistralLLMSettings(OpenAILLMSettings): - """Settings for Mistral LLM service.""" + """Settings for MistralLLMService.""" pass diff --git a/src/pipecat/services/nvidia/llm.py b/src/pipecat/services/nvidia/llm.py index 16b3a78c4..65c0880e4 100644 --- a/src/pipecat/services/nvidia/llm.py +++ b/src/pipecat/services/nvidia/llm.py @@ -23,7 +23,7 @@ from pipecat.services.settings import _warn_deprecated_param @dataclass class NvidiaLLMSettings(OpenAILLMSettings): - """Settings for NVIDIA LLM service.""" + """Settings for NvidiaLLMService.""" pass diff --git a/src/pipecat/services/ollama/llm.py b/src/pipecat/services/ollama/llm.py index 4662d741b..42b5b00b1 100644 --- a/src/pipecat/services/ollama/llm.py +++ b/src/pipecat/services/ollama/llm.py @@ -18,7 +18,7 @@ from pipecat.services.settings import _warn_deprecated_param @dataclass class OllamaLLMSettings(OpenAILLMSettings): - """Settings for Ollama LLM service.""" + """Settings for OLLamaLLMService.""" pass diff --git a/src/pipecat/services/openai/base_llm.py b/src/pipecat/services/openai/base_llm.py index 5e59a5129..bfeae62a1 100644 --- a/src/pipecat/services/openai/base_llm.py +++ b/src/pipecat/services/openai/base_llm.py @@ -49,7 +49,7 @@ from pipecat.utils.tracing.service_decorators import traced_llm @dataclass class OpenAILLMSettings(LLMSettings): - """Settings for OpenAI-compatible LLM services. + """Settings for BaseOpenAILLMService. Parameters: max_completion_tokens: Maximum completion tokens to generate. diff --git a/src/pipecat/services/openai/realtime/llm.py b/src/pipecat/services/openai/realtime/llm.py index faaae2cd9..c25181dd1 100644 --- a/src/pipecat/services/openai/realtime/llm.py +++ b/src/pipecat/services/openai/realtime/llm.py @@ -100,7 +100,7 @@ class CurrentAudioResponse: @dataclass class OpenAIRealtimeLLMSettings(LLMSettings): - """Settings for OpenAI Realtime LLM services. + """Settings for OpenAIRealtimeLLMService. Parameters: session_properties: OpenAI Realtime session properties (modalities, diff --git a/src/pipecat/services/openai_realtime_beta/azure.py b/src/pipecat/services/openai_realtime_beta/azure.py index 72a1201f7..55fb7744d 100644 --- a/src/pipecat/services/openai_realtime_beta/azure.py +++ b/src/pipecat/services/openai_realtime_beta/azure.py @@ -25,7 +25,7 @@ except ModuleNotFoundError as e: @dataclass class AzureRealtimeBetaLLMSettings(OpenAIRealtimeBetaLLMSettings): - """Settings for Azure Realtime Beta LLM service.""" + """Settings for AzureRealtimeBetaLLMService.""" pass diff --git a/src/pipecat/services/openai_realtime_beta/openai.py b/src/pipecat/services/openai_realtime_beta/openai.py index bd9dc29b0..689ca91a5 100644 --- a/src/pipecat/services/openai_realtime_beta/openai.py +++ b/src/pipecat/services/openai_realtime_beta/openai.py @@ -94,7 +94,7 @@ class CurrentAudioResponse: @dataclass class OpenAIRealtimeBetaLLMSettings(LLMSettings): - """Settings for OpenAI Realtime Beta LLM services.""" + """Settings for OpenAIRealtimeBetaLLMService.""" pass diff --git a/src/pipecat/services/openpipe/llm.py b/src/pipecat/services/openpipe/llm.py index ee4fe611b..58840c40d 100644 --- a/src/pipecat/services/openpipe/llm.py +++ b/src/pipecat/services/openpipe/llm.py @@ -30,7 +30,7 @@ except ModuleNotFoundError as e: @dataclass class OpenPipeLLMSettings(OpenAILLMSettings): - """Settings for OpenPipe LLM service.""" + """Settings for OpenPipeLLMService.""" pass diff --git a/src/pipecat/services/openrouter/llm.py b/src/pipecat/services/openrouter/llm.py index f9ac13d22..411eca91e 100644 --- a/src/pipecat/services/openrouter/llm.py +++ b/src/pipecat/services/openrouter/llm.py @@ -22,7 +22,7 @@ from pipecat.services.settings import _warn_deprecated_param @dataclass class OpenRouterLLMSettings(OpenAILLMSettings): - """Settings for OpenRouter LLM service.""" + """Settings for OpenRouterLLMService.""" pass diff --git a/src/pipecat/services/perplexity/llm.py b/src/pipecat/services/perplexity/llm.py index 7fe414023..614e6ad9b 100644 --- a/src/pipecat/services/perplexity/llm.py +++ b/src/pipecat/services/perplexity/llm.py @@ -25,7 +25,7 @@ from pipecat.services.settings import _warn_deprecated_param @dataclass class PerplexityLLMSettings(OpenAILLMSettings): - """Settings for Perplexity LLM service.""" + """Settings for PerplexityLLMService.""" pass diff --git a/src/pipecat/services/qwen/llm.py b/src/pipecat/services/qwen/llm.py index 656b223b2..ba2b734c7 100644 --- a/src/pipecat/services/qwen/llm.py +++ b/src/pipecat/services/qwen/llm.py @@ -18,7 +18,7 @@ from pipecat.services.settings import _warn_deprecated_param @dataclass class QwenLLMSettings(OpenAILLMSettings): - """Settings for Qwen LLM service.""" + """Settings for QwenLLMService.""" pass diff --git a/src/pipecat/services/sambanova/llm.py b/src/pipecat/services/sambanova/llm.py index 0a0c53eaa..e56f2576b 100644 --- a/src/pipecat/services/sambanova/llm.py +++ b/src/pipecat/services/sambanova/llm.py @@ -30,7 +30,7 @@ from pipecat.utils.tracing.service_decorators import traced_llm @dataclass class SambaNovaLLMSettings(OpenAILLMSettings): - """Settings for SambaNova LLM service.""" + """Settings for SambaNovaLLMService.""" pass diff --git a/src/pipecat/services/together/llm.py b/src/pipecat/services/together/llm.py index d39eb8ce6..38089addc 100644 --- a/src/pipecat/services/together/llm.py +++ b/src/pipecat/services/together/llm.py @@ -18,7 +18,7 @@ from pipecat.services.settings import _warn_deprecated_param @dataclass class TogetherLLMSettings(OpenAILLMSettings): - """Settings for Together LLM service.""" + """Settings for TogetherLLMService.""" pass