Skip to content

Print out long-running chatbot tasks#37

Open
willcrichton wants to merge 1 commit into07-pin-afrom
07-pin-b
Open

Print out long-running chatbot tasks#37
willcrichton wants to merge 1 commit into07-pin-afrom
07-pin-b

Conversation

@willcrichton
Copy link
Contributor

@willcrichton willcrichton commented Aug 23, 2024

Reference solution for printing out long-running tasks. Key changes:

  • The chat and cancel futures are now selected in a loop
  • The futures are pinned so they can be repeatedly polled

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant