import fs from "node:fs"; import type { Context, Model } from "@mariozechner/pi-ai"; import { describe, expect, it } from "vitest"; import { registerSingleProviderPlugin } from "../../test/helpers/plugins/plugin-registration.js"; import { createCapturedThinkingConfigStream } from "../../test/helpers/plugins/stream-hooks.js"; import plugin from "./index.js"; import { createKimiWebSearchProvider } from "./src/kimi-web-search-provider.js";
type MoonshotManifest = {
providerAuthEnvVars?: Record<string, string[]>;
};
function readManifest(): MoonshotManifest { return JSON.parse(
fs.readFileSync(new URL("./openclaw.plugin.json", import.meta.url), "utf8"),
) as MoonshotManifest;
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.