chore: set progress edit cadence to 2s

This commit is contained in:
banteg
2026-01-01 01:30:46 +04:00
parent 75a93e0f85
commit 20f8d8cc8a
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -88,7 +88,7 @@ Send any message to your bot. The bridge will:
1. Send a silent progress message
2. Stream events from `codex exec`
3. Update progress every ~1 second
3. Update progress every 2 seconds
4. Send final response with a resume token line
### Resume a Session
+1 -1
View File
@@ -362,7 +362,7 @@ The bridge MUST NOT:
### 7.2 Progress behavior
- The bridge SHOULD send an initial progress message quickly (“running…”).
- The bridge MUST edit the progress message no more frequently than `progress_edit_every` (configurable).
- The bridge SHOULD edit the progress message no more frequently than every 2 seconds.
- The bridge SHOULD avoid edits if rendered content has not changed.
### 7.3 Resume line inclusion
+1 -1
View File
@@ -101,7 +101,7 @@ async def _send_resume_warning(
)
PROGRESS_EDIT_EVERY_S = 1.0
PROGRESS_EDIT_EVERY_S = 2.0
async def _send_or_edit_markdown(