Describe the bug:
After upgrading from 2026.3.28 to 2026.4.5, Gateway startup time increased significantly due to provider validation during models.list.
Version comparison:
|
2026.3.28 |
2026.4.5 |
| Startup time |
~12s |
~85s |
models.list |
Not logged |
33.7s |
| Providers configured |
9 |
9 |
Logs (2026.4.5):
15:11:44+08:00 [gateway] ready (3 plugins, 2.4s) ? Gateway itself starts fast
...
15:13:01+08:00 [ws] ? res ? chat.history 33773ms
15:13:01+08:00 [ws] ? res ? models.list 33676ms ? This blocks startup
Configuration:
- 9 providers (bailian, deepseek, scnet, infinigence, etc.)
- 50+ models
- Config file: 114KB
Expected behavior:
Startup should remain fast regardless of provider count. Provider validation could be:
- Lazy-loaded - validate on first use, not at startup
- Parallel - check providers concurrently
- Optional - a config flag to disable startup validation
Environment:
- Windows 10
- Node v24.14.0
- OpenClaw 2026.4.5
Describe the bug:
After upgrading from 2026.3.28 to 2026.4.5, Gateway startup time increased significantly due to provider validation during
models.list.Version comparison:
models.listLogs (2026.4.5):
Configuration:
Expected behavior:
Startup should remain fast regardless of provider count. Provider validation could be:
Environment: