mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 05:40:44 +00:00
test: stabilize Docker live service lanes
This commit is contained in:
@@ -124,7 +124,8 @@ openclaw models list --json
|
||||
- `OPENCLAW_LIVE_CLI_BACKEND_IMAGE_ARG="--image"` to pass image file paths as CLI args instead of prompt injection.
|
||||
- `OPENCLAW_LIVE_CLI_BACKEND_IMAGE_MODE="repeat"` (or `"list"`) to control how image args are passed when `IMAGE_ARG` is set.
|
||||
- `OPENCLAW_LIVE_CLI_BACKEND_RESUME_PROBE=1` to send a second turn and validate resume flow.
|
||||
- `OPENCLAW_LIVE_CLI_BACKEND_MODEL_SWITCH_PROBE=0` to disable the default Claude Sonnet -> Opus same-session continuity probe (set to `1` to force it on when the selected model supports a switch target).
|
||||
- `OPENCLAW_LIVE_CLI_BACKEND_MODEL_SWITCH_PROBE=1` to opt into the Claude Sonnet -> Opus same-session continuity probe when the selected model supports a switch target. Docker recipes default this off for aggregate reliability.
|
||||
- `OPENCLAW_LIVE_CLI_BACKEND_MCP_PROBE=1` to opt into the MCP/tool loopback probe. Docker recipes default this off unless explicitly requested.
|
||||
|
||||
Example:
|
||||
|
||||
|
||||
@@ -152,7 +152,7 @@ docker_cmd docker run -d \
|
||||
--network "$NET_NAME" \
|
||||
-e ENV=prod \
|
||||
-e WEBUI_NAME="OpenClaw E2E" \
|
||||
-e WEBUI_SECRET_KEY="openclaw-openwebui-e2e-secret" \
|
||||
-e WEBUI_SECRET_KEY="openclaw-openwebui-e2e-secret-key-v1" \
|
||||
-e OFFLINE_MODE=True \
|
||||
-e ENABLE_VERSION_UPDATE_CHECK=False \
|
||||
-e ENABLE_PERSISTENT_CONFIG=False \
|
||||
|
||||
@@ -73,6 +73,8 @@ if [[ "$CLI_PROVIDER" == "claude-cli" && -z "$CLI_DISABLE_MCP_CONFIG" ]]; then
|
||||
CLI_DISABLE_MCP_CONFIG="0"
|
||||
fi
|
||||
fi
|
||||
export OPENCLAW_LIVE_CLI_BACKEND_MODEL_SWITCH_PROBE="${OPENCLAW_LIVE_CLI_BACKEND_MODEL_SWITCH_PROBE:-0}"
|
||||
export OPENCLAW_LIVE_CLI_BACKEND_MCP_PROBE="${OPENCLAW_LIVE_CLI_BACKEND_MCP_PROBE:-0}"
|
||||
|
||||
cleanup_temp_dirs() {
|
||||
if ((${#TEMP_DIRS[@]} > 0)); then
|
||||
|
||||
@@ -295,6 +295,7 @@ describeLive("gateway live (cli backend)", () => {
|
||||
[modelKey]: {},
|
||||
...(modelSwitchTarget ? { [modelSwitchTarget]: {} } : {}),
|
||||
},
|
||||
embeddedHarness: { runtime: "pi", fallback: "pi" },
|
||||
cliBackends: {
|
||||
...existingBackends,
|
||||
[providerId]: {
|
||||
|
||||
Reference in New Issue
Block a user