From 698d60f3aef8401bc201aab06d5aeef78783e17d Mon Sep 17 00:00:00 2001 From: Mark Backman Date: Mon, 21 Jul 2025 17:51:11 -0400 Subject: [PATCH] fix: OLLamaLLMService pass base_url as kwarg --- CHANGELOG.md | 3 +++ src/pipecat/services/ollama/llm.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b712407cf..6ce9aac90 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed +- Fixed an issue in `OLLamaLLMService` where kwargs were not passed correctly + to the parent class. + - Fixed an issue where, in some edge cases, the `EmulateUserStartedSpeakingFrame` could be created even if we didn't have a transcription. diff --git a/src/pipecat/services/ollama/llm.py b/src/pipecat/services/ollama/llm.py index de01dbc5b..2284a5070 100644 --- a/src/pipecat/services/ollama/llm.py +++ b/src/pipecat/services/ollama/llm.py @@ -42,4 +42,4 @@ class OLLamaLLMService(OpenAILLMService): An OpenAI-compatible client configured for Ollama. """ logger.debug(f"Creating Ollama client with api {base_url}") - return super().create_client(base_url, **kwargs) + return super().create_client(base_url=base_url, **kwargs)