Run ruff on code
This commit is contained in:
@@ -13,7 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
- Fixed an issue in `SmallWebRTCTransport` where an error was thrown if the
|
- Fixed an issue in `SmallWebRTCTransport` where an error was thrown if the
|
||||||
client did not create a video transceiver.
|
client did not create a video transceiver.
|
||||||
|
|
||||||
- Fixed an issue where LLM input parameters were not working and applied correctly in `GoogleVertexLLMService`, causing
|
- Fixed an issue where LLM input parameters were not working and applied correctly in `GoogleVertexLLMService`, causing
|
||||||
unexpected behavior during inference.
|
unexpected behavior during inference.
|
||||||
|
|
||||||
## [0.0.63] - 2025-04-11
|
## [0.0.63] - 2025-04-11
|
||||||
|
|||||||
@@ -65,7 +65,9 @@ class GoogleVertexLLMService(OpenAILLMService):
|
|||||||
base_url = self._get_base_url(params)
|
base_url = self._get_base_url(params)
|
||||||
self._api_key = self._get_api_token(credentials, credentials_path)
|
self._api_key = self._get_api_token(credentials, credentials_path)
|
||||||
|
|
||||||
super().__init__(api_key=self._api_key, base_url=base_url, model=model,params=params, **kwargs)
|
super().__init__(
|
||||||
|
api_key=self._api_key, base_url=base_url, model=model, params=params, **kwargs
|
||||||
|
)
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def _get_base_url(params: InputParams) -> str:
|
def _get_base_url(params: InputParams) -> str:
|
||||||
|
|||||||
Reference in New Issue
Block a user