mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-13 03:59:12 +00:00
chore(vertex-ai): remove obsolete lint suppressions
This commit is contained in:
parent
f286d33e44
commit
3e65e9ef0e
2 changed files with 2 additions and 4 deletions
|
|
@ -1132,7 +1132,7 @@ class VertexGeminiConfig(VertexAIBaseConfig, BaseConfig):
|
|||
return normalize_gemini_speech_config(value)
|
||||
|
||||
speech_config_without_language: Final[ # mutable-ok: provider request serialization requires a concrete dict
|
||||
dict[str, object] # mutable-ok: provider request serialization requires a concrete dict
|
||||
dict[str, object]
|
||||
] = (
|
||||
{ # mutable-ok: provider request serialization requires a concrete dict
|
||||
"voiceConfig": { # mutable-ok: nested provider payload is serialized as a dict
|
||||
|
|
|
|||
|
|
@ -218,9 +218,7 @@ class VertexAITextToSpeechConfig(BaseTextToSpeechConfig, VertexBase):
|
|||
def _extract_gemini_tts_speaker_configs(
|
||||
self,
|
||||
voice: Mapping[str, object],
|
||||
) -> list[
|
||||
VertexTextToSpeechSpeakerVoiceConfig
|
||||
]: # mutable-ok: provider request serialization requires a concrete list
|
||||
) -> list[VertexTextToSpeechSpeakerVoiceConfig]:
|
||||
speech_config: Final = self._get_dict_value(voice, "speechConfig", "speech_config") or voice
|
||||
multi_speaker_config: Final = self._get_dict_value(
|
||||
speech_config,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue