mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 08:40:44 +00:00
17 lines
567 B
TypeScript
17 lines
567 B
TypeScript
import { describe, expect, it } from "vitest";
|
|
import { opencodeGoMediaUnderstandingProvider } from "./media-understanding-provider.js";
|
|
|
|
describe("opencode-go media understanding provider", () => {
|
|
it("declares image understanding support", () => {
|
|
expect(opencodeGoMediaUnderstandingProvider).toEqual(
|
|
expect.objectContaining({
|
|
id: "opencode-go",
|
|
capabilities: ["image"],
|
|
defaultModels: { image: "kimi-k2.6" },
|
|
describeImage: expect.any(Function),
|
|
describeImages: expect.any(Function),
|
|
}),
|
|
);
|
|
});
|
|
});
|