@@ -4,6 +4,8 @@
|
|||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
- **Connection errors not retried**: Added "connection error" to the list of retryable errors so Anthropic connection drops trigger auto-retry instead of silently failing. ([#252](https://github.com/badlogic/pi-mono/issues/252))
|
||||||
|
|
||||||
- **Thinking level not clamped on model switch**: Fixed TUI showing xhigh thinking level after switching to a model that doesn't support it. Thinking level is now automatically clamped to model capabilities. ([#253](https://github.com/badlogic/pi-mono/issues/253))
|
- **Thinking level not clamped on model switch**: Fixed TUI showing xhigh thinking level after switching to a model that doesn't support it. Thinking level is now automatically clamped to model capabilities. ([#253](https://github.com/badlogic/pi-mono/issues/253))
|
||||||
|
|
||||||
## [0.24.5] - 2025-12-20
|
## [0.24.5] - 2025-12-20
|
||||||
|
|||||||
@@ -910,8 +910,8 @@ export class AgentSession {
|
|||||||
if (isContextOverflow(message, contextWindow)) return false;
|
if (isContextOverflow(message, contextWindow)) return false;
|
||||||
|
|
||||||
const err = message.errorMessage;
|
const err = message.errorMessage;
|
||||||
// Match: overloaded_error, rate limit, 429, 500, 502, 503, 504, service unavailable
|
// Match: overloaded_error, rate limit, 429, 500, 502, 503, 504, service unavailable, connection error
|
||||||
return /overloaded|rate.?limit|too many requests|429|500|502|503|504|service.?unavailable|server error|internal error/i.test(
|
return /overloaded|rate.?limit|too many requests|429|500|502|503|504|service.?unavailable|server error|internal error|connection.?error/i.test(
|
||||||
err,
|
err,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user