fix: enhance 429 error handling and fix failed cases

This commit is contained in:
mingholy.lmh
2025-12-01 16:18:18 +08:00
parent 3056f8a63d
commit 50e3a6ee0a
7 changed files with 68 additions and 43 deletions

View File

@@ -213,7 +213,7 @@ describe('simple-mcp-server', () => {
it('should add two numbers', async () => {
// Test directory is already set up in before hook
// Just run the command - MCP server config is in settings.json
const output = await rig.run('add 5 and 10');
const output = await rig.run('add 5 and 10, use tool if you can.');
const foundToolCall = await rig.waitForToolCall('add');