Skip to content

Conversation

@mattieruth
Copy link
Contributor

…h pipecat cloud behavior WRT requestData

Please describe the changes in your PR. If it is addressing an issue, please reference that as well.

⚠️ IMPORTANT Note that this change affects the format for sending requestData when sending any custom parameters they want passed through to the runner args for SmallWebRTC. Any custom args must now be embedded in a body: {} field of requestData in the /start endpoint. This aligns expectations with the Daily /start endpoint as well as pipecat cloud.

@codecov
Copy link

codecov bot commented Jan 22, 2026

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/pipecat/runner/run.py 0.00% 1 Missing ⚠️
Files with missing lines Coverage Δ
src/pipecat/runner/run.py 0.00% <0.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR modifies the SmallWebRTC endpoints to align with Pipecat Cloud behavior regarding requestData handling. The changes ensure that custom parameters must be embedded in a body field when sent to the /start endpoint, making the SmallWebRTC implementation consistent with the Daily transport.

Changes:

  • Modified /start endpoint to store only the body field from requestData in the session storage
  • Added fallback logic in the /sessions/{session_id}/api/offer proxy endpoint to use stored session data when request_data or requestData are not provided

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

2 participants