renamed all (#3207)

This commit is contained in:
Eduard van Valkenburg
2026-01-14 06:54:07 +01:00
committed by GitHub
Unverified
parent 1ae0b09e42
commit d8cf8361bd
125 changed files with 1024 additions and 1027 deletions
@@ -40,7 +40,7 @@ def needs_editing(message: Any) -> bool:
if not isinstance(message, AgentExecutorResponse):
return False
try:
review = ReviewResult.model_validate_json(message.agent_run_response.text)
review = ReviewResult.model_validate_json(message.agent_response.text)
return review.score < 80
except Exception:
return False
@@ -52,7 +52,7 @@ def is_approved(message: Any) -> bool:
if not isinstance(message, AgentExecutorResponse):
return True
try:
review = ReviewResult.model_validate_json(message.agent_run_response.text)
review = ReviewResult.model_validate_json(message.agent_response.text)
return review.score >= 80
except Exception:
return True