- _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. |
||
|---|---|---|
| .. | ||
| data_recipe | ||
| export | ||
| inference | ||
| training | ||
| __init__.py | ||
| tool_healing.py | ||