- _has_unclosed_markup_block() short-circuits the numbered-list fallback when the response contains an open <html> or <svg> with no matching close. A partial markup body that happens to contain two numbered lines no longer reads as a final answer. - _TOOL_ACTION_VERBS adds freshness-gated "compare" and "review" so plans phrased as "Compare the latest release sources" or "Review the current documentation" still re-prompt. - Re-prompt call site defers the visible-artifact regex scan until the cheap gates (tools enabled, _reprompt_count, length window, intent regex) have all passed. Long final answers that can never re-prompt no longer pay the artifact-scan cost. |
||
|---|---|---|
| .. | ||
| 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 | ||