()
| 1177 | } |
| 1178 | |
| 1179 | beginSessionRequest(): void { |
| 1180 | this.streamingUI.setTurnId(undefined); |
| 1181 | this.streamingUI.resetLiveText(); |
| 1182 | this.streamingUI.resetToolUi(); |
| 1183 | this.streamingUI.resetToolCallState(); |
| 1184 | |
| 1185 | this.patchLivePane({ |
| 1186 | mode: 'waiting', |
| 1187 | pendingApproval: null, |
| 1188 | pendingQuestion: null, |
| 1189 | }); |
| 1190 | this.setAppState({ |
| 1191 | streamingPhase: 'waiting', |
| 1192 | streamingStartTime: Date.now(), |
| 1193 | }); |
| 1194 | } |
| 1195 | |
| 1196 | failSessionRequest(message: string): void { |
| 1197 | this.setAppState({ streamingPhase: 'idle' }); |
no test coverage detected