fix: OLLamaLLMService pass base_url as kwarg
This commit is contained in:
@@ -19,6 +19,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
### Fixed
|
### 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`
|
- Fixed an issue where, in some edge cases, the `EmulateUserStartedSpeakingFrame`
|
||||||
could be created even if we didn't have a transcription.
|
could be created even if we didn't have a transcription.
|
||||||
|
|
||||||
|
|||||||
@@ -42,4 +42,4 @@ class OLLamaLLMService(OpenAILLMService):
|
|||||||
An OpenAI-compatible client configured for Ollama.
|
An OpenAI-compatible client configured for Ollama.
|
||||||
"""
|
"""
|
||||||
logger.debug(f"Creating Ollama client with api {base_url}")
|
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)
|
||||||
|
|||||||
Reference in New Issue
Block a user