File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,18 +37,19 @@ export type CloudQuestion = Omit<
3737export type CloudQuestionRequest = {
3838 id : string
3939 questions : CloudQuestion [ ]
40- /** Its turn ended while the card waited (DEVICE_QUESTION_WAIT_MS ): an answer
40+ /** Its turn ended while the card waited (QUESTION_WAIT_MS ): an answer
4141 * now goes out as the user's next message. */
4242 deferred ?: boolean
4343}
4444
4545/**
46- * How long a turn on the user's computer waits on an unanswered question card
47- * before it ends quietly (completed, no error) and frees its runner slot. The
48- * card stays open on the chat's latest run and its answer becomes the next
49- * message; the client looks for such cards only on runs at least this long.
46+ * How long a turn waits on an unanswered question card before it ends quietly
47+ * (completed, no error): it frees its runner slot, and a Cloud VM chat's VM
48+ * idles to its pause instead of being held awake by a running turn. The card
49+ * stays open on the chat's latest run and its answer becomes the next message;
50+ * the client looks for such cards only on runs at least this long.
5051 */
51- export const DEVICE_QUESTION_WAIT_MS = 15 * 60_000
52+ export const QUESTION_WAIT_MS = 15 * 60_000
5253
5354export const cloudQuestionAnswerSchema = z . discriminatedUnion ( 'skipped' , [
5455 z . object ( { skipped : z . literal ( true ) } ) ,
You can’t perform that action at this time.
0 commit comments