Agents: align Claude fixture with rebased tests

This commit is contained in:
Peter Steinberger
2026-04-07 00:36:21 +08:00
parent 0f224724dc
commit 51f77b5e04

View File

@@ -183,7 +183,6 @@ function buildAnthropicCliBackendFixture(): CliBackendPlugin {
"OTEL_SDK_DISABLED",
"OTEL_TRACES_EXPORTER",
] as const;
const blockedEnvKeys = new Set(clearEnv);
return {
id: "claude-cli",
bundleMcp: true,
@@ -242,12 +241,6 @@ function buildAnthropicCliBackendFixture(): CliBackendPlugin {
},
serialize: true,
},
normalizeConfig: (config) => ({
...config,
env: Object.fromEntries(
Object.entries(config.env ?? {}).filter(([key]) => !blockedEnvKeys.has(key)),
),
}),
};
}