diff --git a/docs/providers/nvidia.md b/docs/providers/nvidia.md index da33dc34f4..2a590f024c 100644 --- a/docs/providers/nvidia.md +++ b/docs/providers/nvidia.md @@ -3,7 +3,7 @@ summary: "Use NVIDIA's OpenAI-compatible API in OpenClaw" read_when: - You want to use NVIDIA models in OpenClaw - You need NVIDIA_API_KEY setup -title: 'NVIDIA' +title: "NVIDIA" --- # NVIDIA @@ -25,18 +25,18 @@ If you still pass `--token`, remember it lands in shell history and `ps` output; ```json5 { - env: { NVIDIA_API_KEY: 'nvapi-...' }, + env: { NVIDIA_API_KEY: "nvapi-..." }, models: { providers: { nvidia: { - baseUrl: 'https://integrate.api.nvidia.com/v1', - api: 'openai-completions', + baseUrl: "https://integrate.api.nvidia.com/v1", + api: "openai-completions", }, }, }, agents: { defaults: { - model: { primary: 'nvidia/llama-3.1-nemotron-70b-instruct' }, + model: { primary: "nvidia/llama-3.1-nemotron-70b-instruct" }, }, }, } diff --git a/src/agents/models-config.providers.nvidia.test.ts b/src/agents/models-config.providers.nvidia.test.ts index fcb9885e6e..14b9d5c319 100644 --- a/src/agents/models-config.providers.nvidia.test.ts +++ b/src/agents/models-config.providers.nvidia.test.ts @@ -3,7 +3,10 @@ import { tmpdir } from "node:os"; import { join } from "node:path"; import { describe, expect, it } from "vitest"; import { resolveApiKeyForProvider } from "./model-auth.js"; -import { buildNvidiaProvider, resolveImplicitProviders } from "./models-config.providers.js"; +import { + buildNvidiaProvider, + resolveImplicitProviders, +} from "./models-config.providers.js"; describe("NVIDIA provider", () => { it("should include nvidia when NVIDIA_API_KEY is configured", async () => {