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)