chore: Fix types in tests 23/N.

This commit is contained in:
cpojer
2026-02-17 12:23:01 +09:00
parent 8d6e345338
commit cf6cdc74d0
13 changed files with 166 additions and 116 deletions

View File

@@ -1,8 +1,9 @@
import { describe, expect, it } from "vitest";
import type { OpenClawConfig } from "../config/config.js";
import { resolveEntriesWithActiveFallback, resolveModelEntries } from "./resolve.js";
import type { MediaUnderstandingCapability } from "./types.js";
const providerRegistry = new Map([
const providerRegistry = new Map<string, { capabilities: MediaUnderstandingCapability[] }>([
["openai", { capabilities: ["image"] }],
["groq", { capabilities: ["audio"] }],
]);