rename models_vX to models.py and models_deprecated.py

This commit is contained in:
mattie ruth backman
2026-03-06 11:24:34 -05:00
committed by Mattie Ruth
parent da0975a4e0
commit 18494658c3
6 changed files with 7 additions and 7 deletions

View File

@@ -12,7 +12,7 @@ from pipecat.processors.frameworks.rtvi.frames import (
RTVIServerMessageFrame,
RTVIServerResponseFrame,
)
from pipecat.processors.frameworks.rtvi.models_v0 import (
from pipecat.processors.frameworks.rtvi.models_deprecated import (
ActionResult,
RTVIAction,
RTVIActionArgument,

View File

@@ -9,7 +9,7 @@
Contains all RTVI protocol v1 message definitions and data structures.
Import this module under the ``RTVI`` alias to use as a namespace::
import pipecat.processors.frameworks.rtvi.models_v1 as RTVI
import pipecat.processors.frameworks.rtvi.models as RTVI
msg = RTVI.BotReady(id="1", data=RTVI.BotReadyData(version=RTVI.PROTOCOL_VERSION))
"""

View File

@@ -24,7 +24,7 @@ from typing import (
from pydantic import BaseModel, Field, PrivateAttr
import pipecat.processors.frameworks.rtvi.models_v1 as RTVI
import pipecat.processors.frameworks.rtvi.models as RTVI
ActionResult = Union[bool, int, float, str, list, dict]

View File

@@ -23,7 +23,7 @@ from typing import (
from loguru import logger
from pydantic import BaseModel
import pipecat.processors.frameworks.rtvi.models_v1 as RTVI
import pipecat.processors.frameworks.rtvi.models as RTVI
from pipecat.audio.utils import calculate_audio_volume
from pipecat.frames.frames import (
AggregatedTextFrame,

View File

@@ -13,7 +13,7 @@ from typing import Any, Dict, Mapping, Optional
from loguru import logger
from pydantic import BaseModel, ValidationError
import pipecat.processors.frameworks.rtvi.models_v1 as RTVI
import pipecat.processors.frameworks.rtvi.models as RTVI
from pipecat import version as pipecat_version
from pipecat.frames.frames import (
CancelFrame,
@@ -32,7 +32,7 @@ from pipecat.frames.frames import (
)
from pipecat.processors.frame_processor import FrameDirection, FrameProcessor
from pipecat.processors.frameworks.rtvi.frames import RTVIActionFrame, RTVIClientMessageFrame
from pipecat.processors.frameworks.rtvi.models_v0 import (
from pipecat.processors.frameworks.rtvi.models_deprecated import (
RTVIAction,
RTVIActionResponse,
RTVIActionResponseData,

View File

@@ -11,7 +11,7 @@ from typing import Optional
from pydantic import BaseModel
import pipecat.processors.frameworks.rtvi.models_v1 as RTVI
import pipecat.processors.frameworks.rtvi.models as RTVI
from pipecat.frames.frames import (
Frame,
OutputTransportMessageFrame,