Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion assistant/src/__tests__/call-orchestrator.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ function createMockProviderResponse(tokens: string[]) {

// ── Provider registry mock ──────────────────────────────────────────

let mockSendMessage: Mock<(...args: unknown[]) => Promise<unknown>>;
// eslint-disable-next-line @typescript-eslint/no-explicit-any
let mockSendMessage: Mock<(...args: any[]) => Promise<any>>;

mock.module('../providers/registry.js', () => {
mockSendMessage = mock(createMockProviderResponse(['Hello', ' there']));
Expand Down
1 change: 0 additions & 1 deletion assistant/src/calls/call-orchestrator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ export class CallOrchestrator {
private state: OrchestratorState = 'idle';
private conversationHistory: Array<{ role: 'user' | 'assistant'; content: string }> = [];
private abortController: AbortController = new AbortController();
private callStartTime: number = Date.now();
private silenceTimer: ReturnType<typeof setTimeout> | null = null;
private durationTimer: ReturnType<typeof setTimeout> | null = null;
private durationWarningTimer: ReturnType<typeof setTimeout> | null = null;
Expand Down
Loading