Bump various deprecation messages from mentioning version 0.0.103 to 0.0.104
This commit is contained in:
@@ -2127,7 +2127,7 @@ class ServiceUpdateSettingsFrame(ControlFrame):
|
||||
Parameters:
|
||||
settings: Dictionary of setting name to value mappings.
|
||||
|
||||
.. deprecated:: 0.0.103
|
||||
.. deprecated:: 0.0.104
|
||||
Use ``delta`` with a typed settings object instead.
|
||||
|
||||
delta: :class:`~pipecat.services.settings.ServiceSettings` delta-mode
|
||||
|
||||
@@ -368,7 +368,7 @@ class GoogleSTTSettings(STTSettings):
|
||||
language_codes: List of Google STT language code strings
|
||||
(e.g. ``["en-US"]``).
|
||||
|
||||
.. deprecated:: 0.0.103
|
||||
.. deprecated:: 0.0.104
|
||||
Use ``languages`` instead. If both are provided, ``languages``
|
||||
takes precedence. This field is here just for backward
|
||||
compatibility with dict-based settings updates.
|
||||
|
||||
@@ -210,7 +210,7 @@ class HumeTTSService(TTSService):
|
||||
async def update_setting(self, key: str, value: Any) -> None:
|
||||
"""Runtime updates via key/value pair.
|
||||
|
||||
.. deprecated:: 0.0.103
|
||||
.. deprecated:: 0.0.104
|
||||
Use ``TTSUpdateSettingsFrame(delta=HumeTTSSettings(...))`` instead.
|
||||
|
||||
Args:
|
||||
|
||||
@@ -359,7 +359,7 @@ class LLMService(UserTurnCompletionLLMServiceMixin, AIService):
|
||||
warnings.simplefilter("always")
|
||||
warnings.warn(
|
||||
"Passing a dict via LLMUpdateSettingsFrame(settings={...}) is deprecated "
|
||||
"since 0.0.103, use LLMUpdateSettingsFrame(delta=LLMSettings(...)) instead.",
|
||||
"since 0.0.104, use LLMUpdateSettingsFrame(delta=LLMSettings(...)) instead.",
|
||||
DeprecationWarning,
|
||||
stacklevel=2,
|
||||
)
|
||||
|
||||
@@ -241,7 +241,7 @@ class NvidiaSTTService(STTService):
|
||||
async def set_model(self, model: str):
|
||||
"""Set the ASR model for transcription.
|
||||
|
||||
.. deprecated:: 0.0.103
|
||||
.. deprecated:: 0.0.104
|
||||
Model cannot be changed after initialization for NVIDIA Riva streaming STT.
|
||||
Set model and function id in the constructor instead, e.g.::
|
||||
|
||||
|
||||
@@ -125,7 +125,7 @@ class NvidiaTTSService(TTSService):
|
||||
async def set_model(self, model: str):
|
||||
"""Set the TTS model.
|
||||
|
||||
.. deprecated:: 0.0.103
|
||||
.. deprecated:: 0.0.104
|
||||
Model cannot be changed after initialization for NVIDIA Riva TTS.
|
||||
Set model and function id in the constructor instead, e.g.::
|
||||
|
||||
|
||||
@@ -184,7 +184,7 @@ class STTService(AIService):
|
||||
async def set_model(self, model: str):
|
||||
"""Set the speech recognition model.
|
||||
|
||||
.. deprecated:: 0.0.103
|
||||
.. deprecated:: 0.0.104
|
||||
Use ``STTUpdateSettingsFrame(model=...)`` instead.
|
||||
|
||||
Args:
|
||||
@@ -204,7 +204,7 @@ class STTService(AIService):
|
||||
async def set_language(self, language: Language):
|
||||
"""Set the language for speech recognition.
|
||||
|
||||
.. deprecated:: 0.0.103
|
||||
.. deprecated:: 0.0.104
|
||||
Use ``STTUpdateSettingsFrame(language=...)`` instead.
|
||||
|
||||
Args:
|
||||
@@ -357,7 +357,7 @@ class STTService(AIService):
|
||||
warnings.simplefilter("always")
|
||||
warnings.warn(
|
||||
"Passing a dict via STTUpdateSettingsFrame(settings={...}) is deprecated "
|
||||
"since 0.0.103, use STTUpdateSettingsFrame(delta=STTSettings(...)) instead.",
|
||||
"since 0.0.104, use STTUpdateSettingsFrame(delta=STTSettings(...)) instead.",
|
||||
DeprecationWarning,
|
||||
stacklevel=2,
|
||||
)
|
||||
|
||||
@@ -275,7 +275,7 @@ class TTSService(AIService):
|
||||
async def set_model(self, model: str):
|
||||
"""Set the TTS model to use.
|
||||
|
||||
.. deprecated:: 0.0.103
|
||||
.. deprecated:: 0.0.104
|
||||
Use ``TTSUpdateSettingsFrame(model=...)`` instead.
|
||||
|
||||
Args:
|
||||
@@ -295,7 +295,7 @@ class TTSService(AIService):
|
||||
async def set_voice(self, voice: str):
|
||||
"""Set the voice for speech synthesis.
|
||||
|
||||
.. deprecated:: 0.0.103
|
||||
.. deprecated:: 0.0.104
|
||||
Use ``TTSUpdateSettingsFrame(voice=...)`` instead.
|
||||
|
||||
Args:
|
||||
@@ -554,7 +554,7 @@ class TTSService(AIService):
|
||||
warnings.simplefilter("always")
|
||||
warnings.warn(
|
||||
"Passing a dict via TTSUpdateSettingsFrame(settings={...}) is deprecated "
|
||||
"since 0.0.103, use TTSUpdateSettingsFrame(delta=TTSSettings(...)) instead.",
|
||||
"since 0.0.104, use TTSUpdateSettingsFrame(delta=TTSSettings(...)) instead.",
|
||||
DeprecationWarning,
|
||||
stacklevel=2,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user