MCPcopy
hub / github.com/coder/mux / finalizeCompactionRetry

Method finalizeCompactionRetry

src/node/services/agentSession.ts:3741–3750  ·  view source on GitHub ↗
(messageId: string)

Source from the content-addressed store, hash-verified

3739 }
3740
3741 private async finalizeCompactionRetry(messageId: string): Promise<void> {
3742 this.activeCompactionRequest = undefined;
3743 this.resetActiveStreamState();
3744 this.emitChatEvent({
3745 type: "stream-abort",
3746 workspaceId: this.workspaceId,
3747 messageId,
3748 });
3749 await this.clearFailedAssistantMessage(messageId, "compaction-retry");
3750 }
3751
3752 private supports1MContextRetry(modelString: string): boolean {
3753 return supports1MContext(modelString);

Calls 3

emitChatEventMethod · 0.95

Tested by

no test coverage detected