mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-13 07:50:44 +00:00
fix(release): stabilize beta release harness
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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" },
|
||||
|
||||
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user