Skip to content

How can I know when the tokens are finished? #370

Closed Answered by giladgd
pironev asked this question in Q&A
Discussion options

You must be logged in to vote

You need to await on the promise returned from session.prompt(...) to know when the generation has finished.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by giladgd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants