Ship beta34 with external agent tasks, terminal SSE and live token limits
Server CI and Windows package / verify (push) Successful in 3m13s
Server CI and Windows package / windows-package (push) Successful in 7m56s

This commit is contained in:
yilsem committed 2026-10-13 07:32:57 +03:00
1 parent 2cca6a66a6
commit ab7a721fbc
13 files changed
+93 -20

No files matched your search

@@ -104,6 +104,18 @@ def portable_reasoning(req):
return out
result = []
for item in items:
if isinstance(item, dict) and item.get("type") == "agent_message":
# Peer messages carry delegated tasks/results. External Responses
# translators do not understand this Codex-specific item type.
# Keep provenance as data, never as system/developer authority.
content = item.get("content") or []
if isinstance(content, str):
content = [{"type": "input_text", "text": content}]
result.append({"type": "message", "role": "user", "content": [
{"type": "input_text", "text": "Agent message: " + encoded({
"author": item.get("author"), "recipient": item.get("recipient")})}
] + content})
continue
if not isinstance(item, dict) or item.get("type") != "reasoning":
result.append(item)
continue