Merge 05f35a2af8c0780b739fe00426805e7b8c547e7a into 9fb78453e088cd7b553d7779faa0de5c83708e70
This commit is contained in:
commit
84a2e837ee
@ -3639,4 +3639,27 @@ description: test skill
|
||||
expect(warning?.detail).toContain("gateway.auth.token");
|
||||
});
|
||||
});
|
||||
|
||||
it("identifies claude-opus-4-6 as a strong model (>= 4.5)", async () => {
|
||||
const cfg: OpenClawConfig = {
|
||||
agents: {
|
||||
defaults: {
|
||||
model: {
|
||||
primary: "anthropic/claude-opus-4-6",
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
const res = await runSecurityAudit({
|
||||
config: cfg,
|
||||
includeFilesystem: false,
|
||||
includeChannelSecurity: false,
|
||||
});
|
||||
|
||||
const weakFinding = res.findings.find(
|
||||
(f) => f.checkId === "models.hygiene" && f.detail.includes("Below Claude 4.5"),
|
||||
);
|
||||
expect(weakFinding).toBeUndefined();
|
||||
});
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user