Add API_TIMEOUT_MS configuration option

- Add API_TIMEOUT_MS to config.example.json with default value of 600000ms
- Update README.md and README_zh.md to document the new configuration option
- Modify codeCommand.ts to use the configured timeout value instead of hardcoded 600000ms
- Default to 10 minutes (600000ms) if not set in config
This commit is contained in:
BigUncle
2025-07-27 23:52:39 +08:00
parent 31db041084
commit 2c44ea73c7
4 changed files with 7 additions and 2 deletions

View File

@@ -113,5 +113,6 @@
"webSearch": "gemini,gemini-2.5-flash"
},
"APIKEY": "your-secret-key",
"HOST": "0.0.0.0"
"HOST": "0.0.0.0",
"API_TIMEOUT_MS": 600000
}