fix(ai): preserve Z.AI thinking content

closes #6083
This commit is contained in:
Vegard Stikbakke
2026-06-29 08:40:20 +02:00
parent 54113731b2
commit b91bdd5a3e
3 changed files with 64 additions and 3 deletions
+1
View File
@@ -15,6 +15,7 @@
- Fixed `streamSimple()` to send a context-aware max-token cap so providers that count input and output against one context window do not reject long requests ([#5595](https://github.com/earendil-works/pi/issues/5595)).
- Fixed OpenAI Responses streams to preserve reasoning replay state when output items finish out of order ([#6009](https://github.com/earendil-works/pi/issues/6009)).
- Fixed retry classification for provider errors that explicitly tell callers to retry the request ([#6019](https://github.com/earendil-works/pi/issues/6019)).
- Fixed Z.AI preserved thinking requests to send `thinking.clear_thinking: false` when thinking is enabled, allowing replayed `reasoning_content` to participate in provider caching ([#6083](https://github.com/earendil-works/pi/issues/6083)).
## [0.80.2] - 2026-06-23