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

add start_stage to run-satellite #10

Merged
merged 1 commit into from
May 28, 2024

Conversation

chatziko
Copy link
Contributor

This PR adds an optional start_stage param to run-satellite.

The main use is in a "push to talk" feature I am preparing that allows a satellite to be "activated" from the server side. In this case the server will send run-satellite with start_stage = asr to indicate that it wants the satellite to start a pipeline going directly to ASR (skipping vad / wake word / etc). More details will be provided in the corresponding PR in home-assistant/core.

But there could be other uses. run-satellite indicates that the server is ready to run pipelines, it makes sense to be able to specify specific properties of these pipelines.

The param is optional, if None the satellite chooses the starting stage, as it happens now.

@synesthesiam
Copy link
Contributor

Looks good, thank you!

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