PR 5549 cycle-15 codex review surfaced two P2 issues: 1. Trailing-plan regex matched "Now let me know if you want another example" (the closer "let me know" was negative-lookahead-guarded only on the bare alternative, not on "now let me"). Refactor to a single `(?:now\s+)?let me(?!\s+know\b)` alternative so both prefixes share the same guard. 2. Anthropic adapter opened a new text block immediately on the iteration boundary marker. If the reprompted iteration started with a tool_call rather than text, that just-opened text block was immediately closed, emitting a zero-length text content block between intent text and tool_use. Defer the open: close the current block + bump block_index + reset cursor at the boundary, and let `_handle_content` lazy-open when real text arrives. |
||
|---|---|---|
| .. | ||
| assets | ||
| auth | ||
| core | ||
| loggers | ||
| models | ||
| plugins | ||
| requirements | ||
| routes | ||
| state | ||
| storage | ||
| tests | ||
| utils | ||
| __init__.py | ||
| _platform_compat.py | ||
| colab.py | ||
| main.py | ||
| run.py | ||
| startup_banner.py | ||