diff --git a/env.go b/env.go index 3397a9b..20c274b 100644 --- a/env.go +++ b/env.go @@ -26,8 +26,9 @@ var ErrUnknownProvider = errors.New("unknown provider") // authenticated with the bearer token "test-token". type DSN struct { // Scheme selects the provider implementation: "foreman", "ollama", - // "ollama-cloud", "openai", "kimi", "anthropic", "google"/"gemini", or - // any custom scheme registered with RegisterScheme. + // "ollama-cloud", "openai", "kimi", "qwen", "anthropic", + // "google"/"gemini", "llama-swap"/"llama-swaps", or any custom scheme + // registered with RegisterScheme. Scheme string // Token is the provider secret (bearer token or API key); empty = none. Token string @@ -41,7 +42,7 @@ type DSN struct { func (d DSN) BaseURL() string { return "https://" + d.Host } // envKeyForProvider returns the LLM_* variable that defines the provider named -// name (LLM_M1 → "m1", so "my-prov" → LLM_MY_PROV). +// name: "m1" → LLM_M1, "my-prov" → LLM_MY_PROV. // // This is the single definition on purpose. Two call sites need byte-identical // output and would drift apart in silence: lazy resolution reads this variable