Ask a question to get started
Enter to send•Shift+Enter new line
Callback that is called when the stream is finished.
onFinish: (state: ThreadState<StateType>, run: RunCallbackMeta | undefined) => void