Skip to content

fix: CLI dangling task for input_required in stream #389

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

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

CakeCrusher
Copy link

@CakeCrusher CakeCrusher commented May 2, 2025

Description

(Branched from #357 for better readability)
Currently whenever you are streaming back messages and an input is required the CLI will get deadlocked for several reasons:

  • Tutorial code states that task is done whenever message for INPUT_REQUIRED is sent
  • CLI has no means of handling input required for streaming

This PR resolves the problem at the CLI level enabling the CLI to handle INPUT_REQUIRED when streaming. Additionally this PR makes streaming outputs human readbale.

Thank you for opening a Pull Request!
Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

@ToddSegal

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