(session: Session, input: string, options?: SendMessageOptions)
| 1261 | } |
| 1262 | |
| 1263 | private sendMessage(session: Session, input: string, options?: SendMessageOptions): void { |
| 1264 | if ( |
| 1265 | this.deferUserMessages || |
| 1266 | this.state.appState.streamingPhase !== 'idle' || |
| 1267 | this.state.appState.isCompacting |
| 1268 | ) { |
| 1269 | this.enqueueMessage(input, options); |
| 1270 | return; |
| 1271 | } |
| 1272 | this.sendMessageInternal(session, input, options); |
| 1273 | } |
| 1274 | |
| 1275 | steerMessage(session: Session, input: string[]): void { |
| 1276 | if (this.deferUserMessages || this.state.appState.isCompacting) { |
no test coverage detected