Add deprecation stub for google/llm_vertex.py
This commit is contained in:
@@ -13,11 +13,11 @@ from .gemini_live import *
|
||||
from .image import *
|
||||
from .llm import *
|
||||
from .llm_openai import *
|
||||
from .llm_vertex import *
|
||||
from .rtvi import *
|
||||
from .stt import *
|
||||
from .tts import *
|
||||
from .vertex import *
|
||||
|
||||
sys.modules[__name__] = DeprecatedModuleProxy(
|
||||
globals(), "google", "google.[frames,image,llm,llm_openai,llm_vertex,rtvi,stt,tts]"
|
||||
globals(), "google", "google.[frames,image,llm,openai,vertex,rtvi,stt,tts]"
|
||||
)
|
||||
|
||||
18
src/pipecat/services/google/llm_vertex.py
Normal file
18
src/pipecat/services/google/llm_vertex.py
Normal file
@@ -0,0 +1,18 @@
|
||||
#
|
||||
# Copyright (c) 2024-2026, Daily
|
||||
#
|
||||
# SPDX-License-Identifier: BSD 2-Clause License
|
||||
#
|
||||
|
||||
"""Deprecated: use ``pipecat.services.google.vertex.llm`` instead."""
|
||||
|
||||
import warnings
|
||||
|
||||
warnings.warn(
|
||||
"Module `pipecat.services.google.llm_vertex` is deprecated, "
|
||||
"use `pipecat.services.google.vertex.llm` instead.",
|
||||
DeprecationWarning,
|
||||
stacklevel=2,
|
||||
)
|
||||
|
||||
from pipecat.services.google.vertex.llm import * # noqa: E402, F401, F403
|
||||
Reference in New Issue
Block a user