Files
multica/server/pkg/taskfailure
acecb7dd60 fix(pi): keep turn error when process exits 1 [MUL-6585] (#7451)
* fix(pi): keep turn error when process exits 1

Pi (and pi-print-clean-exit) exits 1 after stopReason=error. The backend
then overwrote lastTurnError with "pi exited with error: exit status 1",
so Classify filed a LiteLLM Connection error / Request timed out as
non-retryable process_failure.

Preserve the provider message and classify those strings as
provider_network so auto-retry can resume the session.

* fix(taskfailure): scope Pi network error matching

Co-authored-by: multica-agent <[email protected]>

---------

Co-authored-by: buihongduc132 <[email protected]>
Co-authored-by: Sol-Boy <[email protected]>
Co-authored-by: multica-agent <[email protected]>
2026-08-24 14:02:33 +08:00
..