chore: set progress edit cadence to 2s
This commit is contained in:
@@ -88,7 +88,7 @@ Send any message to your bot. The bridge will:
|
|||||||
|
|
||||||
1. Send a silent progress message
|
1. Send a silent progress message
|
||||||
2. Stream events from `codex exec`
|
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
|
4. Send final response with a resume token line
|
||||||
|
|
||||||
### Resume a Session
|
### Resume a Session
|
||||||
|
|||||||
+1
-1
@@ -362,7 +362,7 @@ The bridge MUST NOT:
|
|||||||
### 7.2 Progress behavior
|
### 7.2 Progress behavior
|
||||||
|
|
||||||
- The bridge SHOULD send an initial progress message quickly (“running…”).
|
- 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.
|
- The bridge SHOULD avoid edits if rendered content has not changed.
|
||||||
|
|
||||||
### 7.3 Resume line inclusion
|
### 7.3 Resume line inclusion
|
||||||
|
|||||||
@@ -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(
|
async def _send_or_edit_markdown(
|
||||||
|
|||||||
Reference in New Issue
Block a user