mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 17:00:50 +00:00
test: keep live release smokes tool-minimal
This commit is contained in:
@@ -258,6 +258,7 @@ describeLive("gateway live (cli backend)", () => {
|
||||
const schemaProbePluginPath = CLI_MCP_SCHEMA_PROBE
|
||||
? await createMcpSchemaProbePlugin(tempDir)
|
||||
: undefined;
|
||||
const useMinimalToolsProfile = providerId === "codex-cli" && !schemaProbePluginPath;
|
||||
process.env.OPENCLAW_STATE_DIR = stateDir;
|
||||
const bundleMcp = backendResolved?.bundleMcp === true;
|
||||
const bootstrapWorkspace = await createBootstrapWorkspace(tempDir);
|
||||
@@ -318,6 +319,14 @@ describeLive("gateway live (cli backend)", () => {
|
||||
},
|
||||
}
|
||||
: cfg.models,
|
||||
...(useMinimalToolsProfile
|
||||
? {
|
||||
tools: {
|
||||
...cfg.tools,
|
||||
profile: "minimal" as const,
|
||||
},
|
||||
}
|
||||
: {}),
|
||||
agents: {
|
||||
...cfg.agents,
|
||||
defaults: {
|
||||
|
||||
Reference in New Issue
Block a user