Skip to content

Commit 73de904

Browse files
committed
fix: increase timeout for tool execution test to 60s
CI environment is slower than local, needs more time for: - Initial API request with tools - Tool execution - Follow-up request with tool results
1 parent 8f553df commit 73de904

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/e2e/call-model.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,7 @@ describe('callModel E2E Tests', () => {
670670
expect(lastMessageIndex).toBeGreaterThan(lastFnOutputIndex);
671671
}
672672
}
673-
}, 30000);
673+
}, 60000); // Increased timeout for tool execution which involves multiple API calls
674674

675675
it('should return messages with all required fields and correct types', async () => {
676676
const response = client.callModel({

0 commit comments

Comments
 (0)