free-coding-models 0.5.71 → 0.5.72
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Changelog v0.5.72 - 2026-08-15
|
|
2
|
+
|
|
3
|
+
### Fixed
|
|
4
|
+
- **HTTP 529 (Service overloaded) now triggers failover** — when an upstream provider returns 529, the router previously passed the error straight to the client instead of failing over to the next model in the priority chain. Clients like OpenCode saw `unknown [retrying attempt #3]` because every retry hit the same overloaded upstream. 529 is now part of the retryable status set (`[429, 500, 502, 503, 529]`) so it cascades to the next model, matching the behavior of 429/500/502/503 in both the streaming and non-streaming code paths. (Fixes GitHub issue #148)
|
|
5
|
+
|
|
6
|
+
### Tests
|
|
7
|
+
- 799/799 tests passing, including two new regression tests covering 529 failover for non-streaming and streaming requests (priority-1 model returns 529 → request succeeds via priority-2 model).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "free-coding-models",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.72",
|
|
4
4
|
"description": "Find the fastest coding LLM models in seconds — ping free models from multiple providers, pick the best one for OpenCode, Cursor, or any AI coding assistant.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"nvidia",
|
|
@@ -124,7 +124,7 @@ const MAX_PROBE_WINDOW = 20
|
|
|
124
124
|
const TOKEN_FLUSH_INTERVAL_MS = 60000
|
|
125
125
|
const CONFIG_RELOAD_INTERVAL_MS = 10000
|
|
126
126
|
const STATS_RETENTION_DAYS = 90
|
|
127
|
-
const RETRYABLE_STATUS_CODES = new Set([429, 500, 502, 503])
|
|
127
|
+
const RETRYABLE_STATUS_CODES = new Set([429, 500, 502, 503, 529])
|
|
128
128
|
const AUTH_STATUS_CODES = new Set([401, 403])
|
|
129
129
|
const RATE_LIMIT_HEADER_NAMES = [
|
|
130
130
|
'retry-after',
|