feat(media): add moonshot video provider and wiring

Co-authored-by: xiaoyaner0201 <xiaoyaner0201@users.noreply.github.com>
This commit is contained in:
Peter Steinberger
2026-02-23 18:24:50 +00:00
parent e02c470d5e
commit 7837d23103
10 changed files with 385 additions and 4 deletions

View File

@@ -1,5 +1,9 @@
import { describe, expect, it } from "vitest";
import { AUTO_AUDIO_KEY_PROVIDERS, DEFAULT_AUDIO_MODELS } from "./defaults.js";
import {
AUTO_AUDIO_KEY_PROVIDERS,
AUTO_VIDEO_KEY_PROVIDERS,
DEFAULT_AUDIO_MODELS,
} from "./defaults.js";
describe("DEFAULT_AUDIO_MODELS", () => {
it("includes Mistral Voxtral default", () => {
@@ -12,3 +16,9 @@ describe("AUTO_AUDIO_KEY_PROVIDERS", () => {
expect(AUTO_AUDIO_KEY_PROVIDERS).toContain("mistral");
});
});
describe("AUTO_VIDEO_KEY_PROVIDERS", () => {
it("includes moonshot auto key resolution", () => {
expect(AUTO_VIDEO_KEY_PROVIDERS).toContain("moonshot");
});
});