This commit is contained in:
@@ -105,5 +105,5 @@ class Settings:
|
||||
raise ValueError("FAILURE_DB_PASSWORD is required")
|
||||
if not self.test_database_password:
|
||||
raise ValueError("TEST_DB_PASSWORD is required")
|
||||
if not 1 <= self.max_agent_attempts <= 3:
|
||||
raise ValueError("MAX_AGENT_ATTEMPTS must be between 1 and 3")
|
||||
if not 1 <= self.max_agent_attempts <= 5:
|
||||
raise ValueError("MAX_AGENT_ATTEMPTS must be between 1 and 5")
|
||||
|
||||
@@ -133,7 +133,9 @@ class AutomationWorker:
|
||||
RuntimeError(
|
||||
f"{exception}\n{restored_state} Make smaller edits and run php -l on each "
|
||||
"changed PHP file. Reconstruct the intended application fix from this discarded "
|
||||
f"patch excerpt, correcting its syntax:\n{discarded_diff}"
|
||||
"patch excerpt, correcting its syntax. This is a repair-only attempt: preserve the "
|
||||
"intended behavior, place methods inside their owning class, and do not redesign or "
|
||||
f"expand the solution:\n{discarded_diff}"
|
||||
),
|
||||
)
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user