fix(ai): detect Ollama overflow errors closes #2626

This commit is contained in:
Mario Zechner
2026-03-27 02:50:03 +01:00
parent 17625cc8a2
commit bc8eb74b82
4 changed files with 55 additions and 3 deletions

View File

@@ -2,6 +2,10 @@
## [Unreleased]
### Fixed
- Fixed context overflow detection to recognize Ollama error responses like `prompt too long; exceeded max context length ...`, so callers can trigger compaction and retry instead of surfacing the raw overflow error ([#2626](https://github.com/badlogic/pi-mono/issues/2626))
## [0.63.0] - 2026-03-27
### Breaking Changes