Commit dfd5650
Abort rollout when RLM worker recovery fails (#891)
Instead of returning a soft error message to the model when the worker
can't be restarted, raise RLMWorkerRecoveryError (a SandboxError
subclass) to cleanly abort the rollout. Continuing with a dead REPL
just wastes turns.
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent 0df300b commit dfd5650
1 file changed
Lines changed: 10 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
153 | 157 | | |
154 | 158 | | |
155 | 159 | | |
| |||
3952 | 3956 | | |
3953 | 3957 | | |
3954 | 3958 | | |
3955 | | - | |
3956 | | - | |
3957 | | - | |
3958 | | - | |
3959 | | - | |
| 3959 | + | |
| 3960 | + | |
| 3961 | + | |
| 3962 | + | |
3960 | 3963 | | |
3961 | 3964 | | |
3962 | 3965 | | |
3963 | 3966 | | |
3964 | 3967 | | |
3965 | 3968 | | |
3966 | 3969 | | |
3967 | | - | |
| 3970 | + | |
| 3971 | + | |
3968 | 3972 | | |
3969 | 3973 | | |
3970 | 3974 | | |
| |||
0 commit comments