Skip to content

Add beta EndCallTool#1409

Open
chasef07 wants to merge 1 commit intolivekit:mainfrom
chasef07:feature/end-call-tool
Open

Add beta EndCallTool#1409
chasef07 wants to merge 1 commit intolivekit:mainfrom
chasef07:feature/end-call-tool

Conversation

@chasef07
Copy link
Copy Markdown
Contributor

@chasef07 chasef07 commented May 6, 2026

Summary

  • add beta EndCallTool under @livekit/agents/beta, modeled after Python behavior
  • add JobContext.deleteRoom() and pass worker credentials into RunningJobInfo so deleteRoom works with env or ServerOptions credentials
  • cover end-call lifecycle, duplicate same-turn calls, reusable tool instances, realtime auto tool replies, and null endInstructions behavior

Testing

  • pnpm test agents/src/beta/tools/end_call.test.ts
  • pnpm --filter @livekit/agents build
  • pnpm --filter @livekit/agents lint (passes with existing warnings)
  • pnpm exec prettier --check agents/src/beta/index.ts agents/src/beta/tools/end_call.ts agents/src/beta/tools/end_call.test.ts agents/src/beta/tools/index.ts agents/src/job.ts agents/src/worker.ts .changeset/beta-end-call-tool.md
  • git diff --check

Notes

  • pnpm --filter @livekit/agents api:check currently fails before this change on generated dist/index.d.ts export * as syntax already present on upstream/main.

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 6, 2026

🦋 Changeset detected

Latest commit: 5643bbc

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

This PR includes changesets to release 29 packages
Name Type
@livekit/agents Major
@livekit/agents-plugin-anam Major
@livekit/agents-plugin-assemblyai Major
@livekit/agents-plugin-baseten Major
@livekit/agents-plugin-bey Major
@livekit/agents-plugin-cartesia Major
@livekit/agents-plugin-cerebras Major
@livekit/agents-plugin-deepgram Major
@livekit/agents-plugin-elevenlabs Major
@livekit/agents-plugin-google Major
@livekit/agents-plugin-hedra Major
@livekit/agents-plugin-inworld Major
@livekit/agents-plugin-lemonslice Major
@livekit/agents-plugin-liveavatar Major
@livekit/agents-plugin-livekit Major
@livekit/agents-plugin-minimax Major
@livekit/agents-plugin-mistral Major
@livekit/agents-plugin-mistralai Major
@livekit/agents-plugin-neuphonic Major
@livekit/agents-plugin-openai Major
@livekit/agents-plugin-phonic Major
@livekit/agents-plugin-resemble Major
@livekit/agents-plugin-rime Major
@livekit/agents-plugin-runway Major
@livekit/agents-plugin-sarvam Major
@livekit/agents-plugin-silero Major
@livekit/agents-plugins-test Major
@livekit/agents-plugin-trugen Major
@livekit/agents-plugin-xai Major

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

Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 4 additional findings.

Open in Devin Review

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.

1 participant