Preserve native Codex history and add configurable cross-model compression
Separate encrypted reasoning from actual compaction, stop migration after native return, and retain full history and recent exchanges. Add typed settings, Gemini fallback, verified provider windows, bounded summaries and durable concurrent checkpoints. Validation: 245 bridge tests plus focused concurrency tests; 71 settings/connection tests; 66 supplementary tests; TypeScript checks; renderer and Electron bundles; real primary/native/fallback summary probes and 700K input acceptance.
This commit is contained in:
1 parent
1c6e3656b8
commit
91ecad8e5c
27 files changed
+1119
-117
No files matched your search
@@ -186,6 +186,16 @@ class OzetAkisi:
|
||||
return b": ozet\n\n"
|
||||
if t == "response.completed":
|
||||
self.metin = self._topla()
|
||||
if not self.metin:
|
||||
# Some Responses providers emit text only in the terminal
|
||||
# output. It is safe to accept it only on completed events.
|
||||
self.metin = "\n\n".join(
|
||||
p.get("text", "")
|
||||
for item in (d.get("response") or {}).get("output") or []
|
||||
if isinstance(item, dict) and item.get("type") == "message"
|
||||
for p in item.get("content") or []
|
||||
if isinstance(p, dict) and p.get("type") == "output_text"
|
||||
).strip()
|
||||
self.bitti = True
|
||||
if not self.metin:
|
||||
return _olay(d) # ozet yok: Codex "0 compaction ogesi" hatasini gosterir
|
||||
|
||||
Reference in new issue
Block a user