Skip to content

Comments

pipecat-base: allow executing bot() in a different process#64

Draft
aconchillo wants to merge 1 commit intomainfrom
aleix/pipecat-cloud-spaw-process
Draft

pipecat-base: allow executing bot() in a different process#64
aconchillo wants to merge 1 commit intomainfrom
aleix/pipecat-cloud-spaw-process

Conversation

@aconchillo
Copy link
Contributor

This allows users to completely isolate each call to bot() in a separate process. By default, it's disabled. Note that this only applies to /bot, it does not apply to websockets.

@aconchillo aconchillo force-pushed the aleix/pipecat-cloud-spaw-process branch from 1a4e7b0 to 32d8f40 Compare September 11, 2025 02:00

image_version = environ.get("IMAGE_VERSION", "unknown")

spawn_process = environ.get("PIPECAT_CLOUD_SPAWN_PROCESS", False)
Copy link
Contributor

Choose a reason for hiding this comment

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

I'd recommend dropping the first _ which would align it with the value we use to trigger integrated keys proxy... it feels more semantically correct to me since its not a "PIPECAT" thing its specifically a "PIPECATCLOUD" thing 🤷

@aconchillo aconchillo marked this pull request as draft September 11, 2025 16:24
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