From 9bf65fac5a2a007f72301afe5b445b66de6a75d0 Mon Sep 17 00:00:00 2001 From: Pierre Tachoire Date: Tue, 15 Sep 2026 18:16:07 +0200 Subject: [PATCH] add missing LLM providers in help --- src/help.zon | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/src/help.zon b/src/help.zon index 71cfaf578..40bd61efc 100644 --- a/src/help.zon +++ b/src/help.zon @@ -255,18 +255,28 @@ \\ The AI provider. When omitted, lightpanda auto-detects an API \\ key from your environment (ANTHROPIC_API_KEY, OPENAI_API_KEY, \\ GOOGLE_API_KEY/GEMINI_API_KEY, HF_TOKEN, AI_GATEWAY_API_KEY, - \\ MISTRAL_API_KEY). With exactly one key set: that provider is - \\ used. With multiple keys on a TTY: you'll be prompted to pick; - \\ in non-interactive contexts, pass --provider explicitly. With - \\ no keys set: falls back to the basic REPL (slash commands only, - \\ no natural-language input, no LOGIN / ACCEPT_COOKIES keywords). + \\ MISTRAL_API_KEY, VERTEX_API_KEY). With exactly one key set: + \\ that provider is used. With multiple keys on a TTY: you'll be + \\ prompted to pick; in non-interactive contexts, pass --provider + \\ explicitly. With no keys set: falls back to the basic REPL + \\ (slash commands only, no natural-language input, no LOGIN / + \\ ACCEPT_COOKIES keywords). + \\ + \\ openai_compatible targets any OpenAI-style server via + \\ OPENAI_BASE_URL + OPENAI_API_KEY; it is auto-detected when + \\ OPENAI_BASE_URL is set. + \\ + \\ Vertex project mode (GOOGLE_CLOUD_PROJECT + a gcloud token) + \\ works with --provider vertex; it is only auto-detected when + \\ GOOGLE_GENAI_USE_VERTEXAI=1 is set too. \\ \\ Local servers (ollama, llama_cpp) are never auto-detected (they \\ need no key); select them explicitly with --provider ollama / \\ --provider llama_cpp. \\ \\ Allowed values: "anthropic", "openai", "gemini", "huggingface", - \\ "vercel", "mistral", "ollama", "llama_cpp". + \\ "vercel", "mistral", "ollama", "llama_cpp", + \\ "vertex", "codex", "openai_compatible". \\ In the REPL, use /provider to list and change providers. \\ --save \\ Synthesize a replayable .js script from the --task run and write @@ -294,10 +304,8 @@ \\The provider, model, effort, and verbosity you choose in the REPL are \\remembered per-directory in .lp-agent.zon and reused on the next run. \\ - \\API keys are read from the environment: ANTHROPIC_API_KEY, OPENAI_API_KEY, - \\GOOGLE_API_KEY/GEMINI_API_KEY, HF_TOKEN, AI_GATEWAY_API_KEY, or - \\MISTRAL_API_KEY. The local servers (Ollama, llama.cpp) do not require an - \\API key. + \\API keys are read from the environment; see --provider for the full list. + \\The local servers (Ollama, llama.cpp) do not require an API key. , .run = \\run command