mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-10 11:04:59 +00:00
fix(models): refresh Moonshot Kimi vision capabilities
Co-authored-by: manikv12 <mac1317@live.missouristate.edu>
This commit is contained in:
@@ -77,6 +77,7 @@ describe("applyAuthChoice (moonshot)", () => {
|
||||
"anthropic/claude-opus-4-5",
|
||||
);
|
||||
expect(result.config.models?.providers?.moonshot?.baseUrl).toBe("https://api.moonshot.cn/v1");
|
||||
expect(result.config.models?.providers?.moonshot?.models?.[0]?.input).toContain("image");
|
||||
expect(result.agentModelOverride).toBe("moonshot/kimi-k2.5");
|
||||
|
||||
const parsed = await readAuthProfiles();
|
||||
@@ -95,6 +96,7 @@ describe("applyAuthChoice (moonshot)", () => {
|
||||
"moonshot/kimi-k2.5",
|
||||
);
|
||||
expect(result.config.models?.providers?.moonshot?.baseUrl).toBe("https://api.moonshot.cn/v1");
|
||||
expect(result.config.models?.providers?.moonshot?.models?.[0]?.input).toContain("image");
|
||||
expect(result.agentModelOverride).toBeUndefined();
|
||||
|
||||
const parsed = await readAuthProfiles();
|
||||
|
||||
Reference in New Issue
Block a user