mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 15:30:47 +00:00
Persist the NVIDIA_API_KEY marker in generated catalog output and mark bundled NVIDIA Chat Completions models as string-content compatible.\n\nFixes #73013.\nFixes #50107.\nRefs #73014.
14 lines
494 B
TypeScript
14 lines
494 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 buildNvidiaProvider(): ModelProviderConfig {
|
|
return {
|
|
...buildManifestModelProviderConfig({
|
|
providerId: "nvidia",
|
|
catalog: manifest.modelCatalog.providers.nvidia,
|
|
}),
|
|
apiKey: "NVIDIA_API_KEY",
|
|
};
|
|
}
|