Skip to content

fix(amd): disable LiteLLM auth via env var override#600

Merged
Lightheartdevs merged 1 commit intomainfrom
fix/litellm-disable-auth-envvar
Mar 24, 2026
Merged

fix(amd): disable LiteLLM auth via env var override#600
Lightheartdevs merged 1 commit intomainfrom
fix/litellm-disable-auth-envvar

Conversation

@Lightheartdevs
Copy link
Collaborator

Summary

Issue 16 fix was incomplete. Removing master_key from lemonade.yaml config wasn't enough — LiteLLM reads LITELLM_MASTER_KEY env var directly and enables auth if non-empty. Phase 06 always generates LITELLM_KEY, so the env var was always set.

Fix: AMD compose overlay sets LITELLM_MASTER_KEY= (empty string), which disables auth at the env var level. Base compose still passes the key for NVIDIA multi-model profile.

Also changes Open WebUI OPENAI_API_KEY from ${LITELLM_KEY} to no-key since auth is no longer needed.

Test plan

  • AMD/Lemonade: OpenClaw connects to LiteLLM without 400 errors
  • AMD/Lemonade: All services reach LiteLLM without Bearer tokens
  • NVIDIA multi-model: LiteLLM still has auth via base compose key

🤖 Generated with Claude Code

LiteLLM reads LITELLM_MASTER_KEY env var directly and enables auth
regardless of config file settings. The base compose passes it from .env
where Phase 06 always generates a key. On AMD/lemonade, this breaks
OpenClaw (can't send Bearer tokens → 400).

Fix: AMD compose overlay sets LITELLM_MASTER_KEY= (empty), which
disables auth at the env var level. Base compose still passes the key
for NVIDIA multi-model profile. Also change Open WebUI OPENAI_API_KEY
to "no-key" since auth is no longer needed.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Lightheartdevs Lightheartdevs merged commit 0ff38db into main Mar 24, 2026
14 of 21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant