mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 11:50:43 +00:00
feat: update opencode-go default model
Co-authored-by: masrlinu <5259918+masrlinu@users.noreply.github.com>
This commit is contained in:
@@ -18,7 +18,7 @@ describe("opencode-go provider plugin", () => {
|
||||
expect.objectContaining({
|
||||
id: "opencode-go",
|
||||
capabilities: ["image"],
|
||||
defaultModels: { image: "kimi-k2.5" },
|
||||
defaultModels: { image: "kimi-k2.6" },
|
||||
describeImage: expect.any(Function),
|
||||
describeImages: expect.any(Function),
|
||||
}),
|
||||
|
||||
@@ -7,7 +7,7 @@ describe("opencode-go media understanding provider", () => {
|
||||
expect.objectContaining({
|
||||
id: "opencode-go",
|
||||
capabilities: ["image"],
|
||||
defaultModels: { image: "kimi-k2.5" },
|
||||
defaultModels: { image: "kimi-k2.6" },
|
||||
describeImage: expect.any(Function),
|
||||
describeImages: expect.any(Function),
|
||||
}),
|
||||
|
||||
@@ -8,7 +8,7 @@ export const opencodeGoMediaUnderstandingProvider: MediaUnderstandingProvider =
|
||||
id: "opencode-go",
|
||||
capabilities: ["image"],
|
||||
defaultModels: {
|
||||
image: "kimi-k2.5",
|
||||
image: "kimi-k2.6",
|
||||
},
|
||||
describeImage: describeImageWithModel,
|
||||
describeImages: describeImagesWithModel,
|
||||
|
||||
@@ -2,7 +2,7 @@ import { describe, expect, it } from "vitest";
|
||||
import { expectProviderOnboardPrimaryAndFallbacks } from "../../test/helpers/plugins/provider-onboard.js";
|
||||
import { applyOpencodeGoConfig, applyOpencodeGoProviderConfig } from "./onboard.js";
|
||||
|
||||
const MODEL_REF = "opencode-go/kimi-k2.5";
|
||||
const MODEL_REF = "opencode-go/kimi-k2.6";
|
||||
|
||||
describe("opencode-go onboard", () => {
|
||||
it("leaves model aliases to the pi catalog", () => {
|
||||
|
||||
@@ -3,7 +3,7 @@ import {
|
||||
type OpenClawConfig,
|
||||
} from "openclaw/plugin-sdk/provider-onboard";
|
||||
|
||||
export const OPENCODE_GO_DEFAULT_MODEL_REF = "opencode-go/kimi-k2.5";
|
||||
export const OPENCODE_GO_DEFAULT_MODEL_REF = "opencode-go/kimi-k2.6";
|
||||
|
||||
export function applyOpencodeGoProviderConfig(cfg: OpenClawConfig): OpenClawConfig {
|
||||
return cfg;
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
"opencode-go": {
|
||||
"capabilities": ["image"],
|
||||
"defaultModels": {
|
||||
"image": "kimi-k2.5"
|
||||
"image": "kimi-k2.6"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user