Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(pipeline_agent): clear user transcript when before_llm_cb returns false #1423

Merged
merged 7 commits into from
Jan 30, 2025

Conversation

s-hamdananwar
Copy link
Contributor

fixes #1422

Copy link

changeset-bot bot commented Jan 28, 2025

🦋 Changeset detected

Latest commit: 3e4de3a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
livekit-agents Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@s-hamdananwar s-hamdananwar changed the title fix(pipeline_agent): clear user transcript when before_llm_cb returns false clear user transcript when before_llm_cb returns false Jan 28, 2025
@s-hamdananwar s-hamdananwar changed the title clear user transcript when before_llm_cb returns false fix(pipeline_agent): clear user transcript when before_llm_cb returns false Jan 28, 2025
@davidzhao
Copy link
Member

@s-hamdananwar can you run ruff format . && ruff check --fix .?

@s-hamdananwar
Copy link
Contributor Author

@davidzhao no idea why ruff check is failing on GH actions, running it locally on livekit-agents/livekit/agents/pipeline/ (where the check is failing) gives me "All checks passed!"

@davidzhao davidzhao merged commit c83a703 into main Jan 30, 2025
14 checks passed
@davidzhao davidzhao deleted the hamdan/clear-user-transcript-on-cancel branch January 30, 2025 22:01
This was referenced Jan 30, 2025
egoldschmidt added a commit to portolans/livekit-agents that referenced this pull request Feb 3, 2025
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.

User transcribed text is not cleared when before_llm_cb is returned Flase
2 participants