You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add container cleanup and OpenHands session cache
- Track and label FeatureBench Docker containers for infer, eval, and data flows so interrupts and process exit can clean them up.
- Return exit code 130 on KeyboardInterrupt and prevent duplicate cleanup races while shutdown is already in progress.
- Add OpenHands --session-cache support with per-attempt X-Session-Id headers and backend session release via DELETE /session_release.
- Mirror OpenHands SDK events into live inference logs and send reasoning aliases through both reasoning_content and reasoning fields.
- Mark completed eval reports, rerun legacy interrupted reports, and avoid saving partial reports during shutdown.
- Thread Docker labels and task-specific env through infer/eval/review containers and document the new CLI option.
- Add tests for infer, eval, data container cleanup and OpenHands session release behavior.
Copy file name to clipboardExpand all lines: docs/infer_cli_arg.md
+7-3Lines changed: 7 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -135,15 +135,19 @@ flags can override metadata (see the argument list below).
135
135
Force native tool calling off (`LLM_NATIVE_TOOL_CALLING=false`).
136
136
Resume mode: ignored (uses metadata).
137
137
138
-
-`--send-reasoning-content`
139
-
Send prior assistant `reasoning_content` back to the model in subsequent OpenHands requests.
140
-
Useful for thinking models whose chat template supports reasoning history.
138
+
-`--send-reasoning-content`
139
+
Send prior assistant reasoning back to the model in subsequent OpenHands requests using both `reasoning_content` and `reasoning` fields.
140
+
Useful for thinking models whose chat template supports reasoning history.
141
141
Resume mode: ignored (uses metadata).
142
142
143
143
-`--litellm-extra-body`
144
144
Pass a JSON object to OpenHands `LLM.litellm_extra_body`, for example `--litellm-extra-body '{"enable_thinking": true}'`.
145
145
Resume mode: ignored (uses metadata).
146
146
147
+
-`--session-cache`
148
+
Enable backend KV-cache session reuse for OpenHands by sending a unique `X-Session-Id` header for each task attempt and releasing it after the run with `DELETE /session_release?session_id=...`.
149
+
Resume mode: ignored (uses metadata).
150
+
147
151
-`--max-iters`
148
152
Maximum iterations for OpenHands (`OPENHANDS_MAX_ITERATIONS`).
0 commit comments