Skip to content

AskStatus

AskStatus = "idle" | "asking" | "streaming" | "done" | "error"

Defined in: react/src/useAsk.ts:29

idle before the first question and after reset(); asking until the first piece of the answer arrives; streaming while it is written; done when it is complete; error when no answer could be written.