fix(release): stabilize beta release harness

This commit is contained in:
Peter Steinberger
2026-05-09 18:03:23 +01:00
parent ae66f70209
commit 971738bbfa
3 changed files with 9 additions and 4 deletions

View File

@@ -606,7 +606,7 @@ run_profile() {
agent_model="$(set_agent_model "$profile" \
"openai/gpt-5.5" \
"openai/gpt-5.4-mini")"
openclaw --profile "$profile" config set models.providers.openai '{"baseUrl":"https://api.openai.com/v1","models":[],"agentRuntime":{"id":"pi"}}' --strict-json >/dev/null
openclaw --profile "$profile" config set models.providers.openai '{"baseUrl":"https://api.openai.com/v1","models":[],"timeoutSeconds":300,"agentRuntime":{"id":"pi"}}' --strict-json >/dev/null
image_model="$(set_image_model "$profile" \
"openai/gpt-5.4-image-2")"
else

View File

@@ -97,6 +97,7 @@ function writeOpenWebUiConfig([openaiApiKey]) {
value: (process.env.OPENAI_BASE_URL || "https://api.openai.com/v1").trim(),
},
{ path: "models.providers.openai.models", value: [] },
{ path: "models.providers.openai.timeoutSeconds", value: 300 },
{ path: "models.providers.openai.agentRuntime", value: { id: "pi" } },
{ path: "gateway.controlUi.enabled", value: false },
{ path: "gateway.mode", value: "local" },

View File

@@ -435,9 +435,13 @@ function assertConfiguredPluginInstalls() {
const records = index.installRecords ?? {};
const matrix = records.matrix;
const bundledMatrix = (index.plugins ?? []).find((plugin) => plugin?.pluginId === "matrix");
assert(!matrix, "internal matrix plugin should not be installed externally");
assert(bundledMatrix, "configured bundled matrix plugin is missing from the plugin index");
assert(bundledMatrix.enabled !== false, "configured bundled matrix plugin is disabled");
if (matrix) {
assertExternalPluginInstall(records, "matrix", "@openclaw/matrix");
} else if (bundledMatrix) {
assert(bundledMatrix.enabled !== false, "configured bundled matrix plugin is disabled");
} else {
assert(false, "configured matrix plugin is missing from the plugin index");
}
const brave = (index.plugins ?? []).find((plugin) => plugin?.pluginId === "brave");
assert(brave, "configured external brave plugin is missing from the plugin index");
assert(brave.enabled !== false, "configured external brave plugin is disabled");