(sessionId: string, runId: string, turnId?: string)
| 2496 | } |
| 2497 | |
| 2498 | hasActiveRun(sessionId: string, runId: string, turnId?: string): boolean { |
| 2499 | return this.backendGenerationsFor(sessionId).some((active) => { |
| 2500 | const run = active.activeRuns.get(runId); |
| 2501 | return run !== undefined && (turnId === undefined || run.turnId === turnId); |
| 2502 | }); |
| 2503 | } |
| 2504 | |
| 2505 | updateCachedHeader(sessionId: string, header: SessionHeader): void { |
| 2506 | const active = this.active.get(sessionId); |
nothing calls this directly
no test coverage detected