mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 09:00:42 +00:00
18 lines
668 B
TypeScript
18 lines
668 B
TypeScript
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" };
|
|
|
|
export function buildBytePlusProvider(): ModelProviderConfig {
|
|
return buildManifestModelProviderConfig({
|
|
providerId: "byteplus",
|
|
catalog: manifest.modelCatalog.providers.byteplus,
|
|
});
|
|
}
|
|
|
|
export function buildBytePlusCodingProvider(): ModelProviderConfig {
|
|
return buildManifestModelProviderConfig({
|
|
providerId: "byteplus-plan",
|
|
catalog: manifest.modelCatalog.providers["byteplus-plan"],
|
|
});
|
|
}
|