mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-25 08:48:13 +02:00
chore: remove set_transferring_call from engine
This commit is contained in:
parent
71ac4e1b87
commit
0b2437a800
3 changed files with 1 additions and 20 deletions
|
|
@ -15,7 +15,6 @@ from pipecat.frames.frames import (
|
|||
from pipecat.pipeline.task import PipelineTask
|
||||
from pipecat.processors.aggregators.llm_context import LLMContext
|
||||
from pipecat.services.llm_service import FunctionCallParams
|
||||
from pipecat.transports.base_transport import BaseTransport
|
||||
from pipecat.utils.enums import EndTaskReason
|
||||
|
||||
if TYPE_CHECKING:
|
||||
|
|
@ -106,9 +105,6 @@ class PipecatEngine:
|
|||
# Custom tool manager (initialized in initialize())
|
||||
self._custom_tool_manager: Optional[CustomToolManager] = None
|
||||
|
||||
# Tracks whether a call transfer is in progress
|
||||
self._transferring_call: bool = False
|
||||
|
||||
# Embeddings configuration (passed from run_pipeline.py)
|
||||
self._embeddings_api_key: Optional[str] = embeddings_api_key
|
||||
self._embeddings_model: Optional[str] = embeddings_model
|
||||
|
|
@ -732,15 +728,6 @@ class PipecatEngine:
|
|||
logger.debug(f"Setting pipeline mute state to: {mute}")
|
||||
self._mute_pipeline = mute
|
||||
|
||||
def set_transferring_call(self, transferring: bool) -> None:
|
||||
"""Set the call transfer state.
|
||||
|
||||
Args:
|
||||
transferring: True when a call transfer is in progress, False otherwise
|
||||
"""
|
||||
logger.debug(f"Setting transferring call state to: {transferring}")
|
||||
self._transferring_call = transferring
|
||||
|
||||
async def handle_llm_text_frame(self, text: str):
|
||||
"""Accumulate LLM text frames to build reference text."""
|
||||
self._current_llm_generation_reference_text += text
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue