Skip to content

Commit 5f915a6

Browse files
committed
fix types
1 parent 51bea64 commit 5f915a6

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

packages/agent-runtime/src/__tests__/malformed-tool-call.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ describe('malformed tool call error handling', () => {
7878
system: 'Test system prompt',
7979
agentContext: {},
8080
onResponseChunk: mock(() => {}),
81+
onCostCalculated: mock(async () => {}),
8182
fullResponse: '',
8283
}
8384

packages/agent-runtime/src/__tests__/run-programmatic-step.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ describe('runProgrammaticStep', () => {
127127
clientSessionId: 'test-session',
128128
fingerprintId: 'test-fingerprint',
129129
onResponseChunk: () => {},
130+
onCostCalculated: async () => {},
130131
fileContext: mockFileContext,
131132
localAgentTemplates: {},
132133
system: undefined,

packages/agent-runtime/src/__tests__/sandbox-generator.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ describe('QuickJS Sandbox Generator', () => {
8282
clientSessionId: 'test-session',
8383
fingerprintId: 'test-fingerprint',
8484
onResponseChunk: () => {},
85+
onCostCalculated: async () => {},
8586
fileContext: mockFileContext,
8687
localAgentTemplates: {},
8788
stepsComplete: false,

0 commit comments

Comments
 (0)