mirror of
https://github.com/stablyai/orca.git
synced 2026-09-24 08:02:33 +00:00
12 lines
480 B
Diff
12 lines
480 B
Diff
--- a/src/main/codex/codex-prompt-registry.ts
|
|
+++ b/src/main/codex/codex-prompt-registry.ts
|
|
@@ -226,7 +226,7 @@
|
|
|
|
clearTurn(threadId: string, turnId: string): void {
|
|
const prompts = new Set(
|
|
- [...this.byAddress.values(), ...this.boundPrompts.values()].filter(
|
|
+ [...this.byAddress.values(), ...this.boundPrompts.values(), ...this.claims.keys()].filter(
|
|
(prompt) => prompt.threadId === threadId && codexPromptMatchesTurn(prompt, turnId)
|
|
)
|
|
)
|