refactor(turn): extract retry-loop API error handler, request build, provider call and response check into agent/turn_api_*.py + agent/turn_response_check.py

This commit is contained in:
Teknium
2026-09-02 16:07:51 -07:00
parent 0dc36e0934
commit 9fda4e5bac
7 changed files with 1373 additions and 914 deletions

View File

@@ -65,7 +65,6 @@ def handle_outer_loop_error(
_turn_exit_reason=_turn_exit_reason,
failed=failed,
final_response=final_response,
)
# Count every escaped exception before classification so permanent