feat(agent): use deepseek flash for complete SCADA investigations
Generic Container CI/CD / test-build-publish (push) Successful in 1m39s
Agent CI/CD / build-test-publish-and-deploy (push) Successful in 1m39s

This commit is contained in:
2026-11-07 21:15:01 +08:00
parent e1ca2f56f9
commit d8eb29466a
6 changed files with 45 additions and 16 deletions
+2 -2
View File
@@ -313,9 +313,9 @@ describe("OpencodeRuntimeAdapter.warmup", () => {
} finally { await cleanup(); }
});
it("rejects an invalid non-default model before readiness and cleans up the session", async () => {
const { runtime, calls, cleanup } = await createWarmupRuntime([], "waternetwork/gpt-5.6-sol");
const { runtime, calls, cleanup } = await createWarmupRuntime([], "waternetwork/gpt-6.1-sol");
try {
await expect(runtime.warmup()).rejects.toThrow("waternetwork/gpt-5.6-sol: not_advertised");
await expect(runtime.warmup()).rejects.toThrow("waternetwork/gpt-6.1-sol: not_advertised");
expect(calls).not.toContain("model.list");
expect(calls.at(-1)).toBe("session.remove");
} finally { await cleanup(); }