Skip to content

Conversation

@lzaidi-homelight
Copy link
Collaborator

Description

  • changes for pipecat upgrade (1k commits from pipecat-ai for version 0.0.85)
  • adding force_cancel module to work with bot code (1 commit from Laila)

filipi87 and others added 30 commits August 26, 2025 18:44
…exible-auth

Support additional authentication mechanisms for AWS services
…rt-pcc-docker

Update quickstart to use pcc docker command
…nd-dtmf

DailyTransport: fix sending DTMF tones
Some implementations were returing a list and some were returning a JSON
string. They should all return a list and the user would decide if it wants to
transform that into JSON.
…ssages-for-logging

unify get_messages_for_logging()
…version-check

RTVIProcessor: make check sure client version is set
…k-wait-for-startframe

PipelineTask: wait for StartFrame to reach end of pipeline
…-0.19.8

pyproject: update daily-python to 0.19.8
This lets a text frame bypass TTS while still being included in the LLM
context. Useful for cases like structured text that isn’t meant to be spoken but
should still contribute to context.
aconchillo and others added 26 commits September 11, 2025 13:02
…ls-and-bug-fix

`LLMContext` evals and bug fix
…ic-pre-load-cue

AWSNovaSonicLLMService: pre-load audio cue in the constructor
…ce-cloning

feat: add voice cloning and speaking rate to GoogleTTSService
…ription-frame-support

adds support to Azure STT for creating InterimTranscriptFrames
Only set last_frame_time when handling OutputAudioRawFrame
…terruption-unit-test

MinWordsInterruptionStrategy unit test
Add to, from phone info and custom data to the development runner
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codex Review: Here are some suggestions.

Reply with @codex fix comments to fix any unresolved comments.

About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you open a pull request for review, mark a draft as ready, or comment "@codex review". If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex fix this CI failure" or "@codex address that feedback".

Comment on lines +355 to +367
async def force_cancel(self):
"""Forcefully cancel the task and any running subtasks."""
logger.debug(f"Force canceling task {self} triggered")
try:
await self.cancel()
except Exception as e:
logger.warning(f"Error calling pipecat task cancel {self}: {e}")

for task in self._task_manager.current_tasks():
try:
await self._task_manager.cancel_task(task)
except Exception as e:
logger.warning(f"Error canceling task {self}: {e}")

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[P1] Force cancellation still waits on regular cancel

force_cancel() immediately awaits self.cancel(), which itself waits up to _cancel_timeout_secs for a CancelFrame to propagate before returning. In the very scenario this helper is meant to solve—an unresponsive pipeline—the method will still block for the full cancel timeout and only then iterate the remaining tasks. The subsequent loop therefore never runs promptly and force_cancel() provides no advantage over calling cancel(). Consider issuing the regular cancel asynchronously or with a very short timeout before cancelling the remaining tasks.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.