mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-16 07:33:46 -06:00
35a1777f68
* refactor(providers): consolidate catalog setup helpers * fix(huggingface): narrow discovered model entries
15 lines
542 B
TypeScript
15 lines
542 B
TypeScript
/**
|
|
* Meta model provider builder.
|
|
*/
|
|
import { buildManifestModelProviderConfig } from "openclaw/plugin-sdk/provider-catalog-shared";
|
|
import type { ModelProviderConfig } from "openclaw/plugin-sdk/provider-model-shared";
|
|
import manifest from "./openclaw.plugin.json" with { type: "json" };
|
|
|
|
/** Builds the Meta OpenAI-compatible model provider config. */
|
|
export function buildMetaProvider(): ModelProviderConfig {
|
|
return buildManifestModelProviderConfig({
|
|
providerId: "meta",
|
|
catalog: manifest.modelCatalog.providers.meta,
|
|
});
|
|
}
|