mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 02:20:44 +00:00
test: stabilize prompt snapshot plugin tools
This commit is contained in:
@@ -183,6 +183,16 @@ const baseConfig: OpenClawConfig = {
|
||||
},
|
||||
};
|
||||
|
||||
const dynamicToolsConfig: OpenClawConfig = {
|
||||
...baseConfig,
|
||||
plugins: {
|
||||
enabled: true,
|
||||
slots: {
|
||||
memory: "none",
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
const happyPathModel = {
|
||||
id: MODEL_ID,
|
||||
provider: "openai",
|
||||
@@ -335,12 +345,13 @@ function createDynamicTools(params: {
|
||||
enableHeartbeatTool: params.trigger === "heartbeat",
|
||||
forceHeartbeatTool: params.trigger === "heartbeat",
|
||||
trigger: params.trigger,
|
||||
config: dynamicToolsConfig,
|
||||
});
|
||||
const normalized = normalizeAgentRuntimeTools({
|
||||
tools,
|
||||
runtimePlan: undefined,
|
||||
provider: "codex",
|
||||
config: baseConfig,
|
||||
config: dynamicToolsConfig,
|
||||
workspaceDir: WORKSPACE_DIR,
|
||||
env: {},
|
||||
modelId: MODEL_ID,
|
||||
|
||||
Reference in New Issue
Block a user