mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 06:40:44 +00:00
test: cover opencode-go image default pairing
This commit is contained in:
@@ -714,7 +714,7 @@ describe("image tool implicit imageModel config", () => {
|
||||
await withTempAgentDir(async (agentDir) => {
|
||||
vi.stubEnv("OPENCODE_API_KEY", "opencode-test");
|
||||
const cfg: OpenClawConfig = {
|
||||
agents: { defaults: { model: { primary: "opencode-go/kimi-k2.6" } } },
|
||||
agents: { defaults: { model: { primary: "opencode-go/minimax-m2.7" } } },
|
||||
};
|
||||
expect(resolveImageModelConfigForTool({ cfg, agentDir })).toEqual({
|
||||
primary: "opencode-go/kimi-k2.6",
|
||||
|
||||
Reference in New Issue
Block a user