* Clear all queued messages, options, and images.
()
| 414 | * Clear all queued messages, options, and images. |
| 415 | */ |
| 416 | clear(): void { |
| 417 | this.messages = []; |
| 418 | this.firstMuxMetadata = undefined; |
| 419 | this.latestOptions = undefined; |
| 420 | this.accumulatedFileParts = []; |
| 421 | this.dedupeKeys.clear(); |
| 422 | this.goalInterventionPolicy = undefined; |
| 423 | this.queueDispatchMode = "tool-end"; |
| 424 | this.onCanceled = undefined; |
| 425 | this.onAccepted = undefined; |
| 426 | this.onAcceptedPreStreamFailure = undefined; |
| 427 | this.queuedEntryCount = 0; |
| 428 | this.queuedSyntheticCount = 0; |
| 429 | this.queuedAgentInitiatedCount = 0; |
| 430 | } |
| 431 | |
| 432 | /** |
| 433 | * Check if queue is empty (no messages AND no images). |
no outgoing calls
no test coverage detected