fix: OLLamaLLMService pass base_url as kwarg

This commit is contained in:
Mark Backman
2025-07-21 17:51:11 -04:00
parent d981ce6e56
commit 698d60f3ae
2 changed files with 4 additions and 1 deletions

View File

@@ -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.

View File

@@ -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)