mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-19 16:25:50 +00:00
test: stabilize prompt snapshot plugin tools
This commit is contained in:
parent
64514a6548
commit
01dd593cfd
1 changed files with 12 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue