fix(amd): disable LiteLLM auth via env var override#600
Merged
Lightheartdevs merged 1 commit intomainfrom Mar 24, 2026
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Issue 16 fix was incomplete. Removing
master_keyfromlemonade.yamlconfig wasn't enough — LiteLLM readsLITELLM_MASTER_KEYenv var directly and enables auth if non-empty. Phase 06 always generatesLITELLM_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_KEYfrom${LITELLM_KEY}tono-keysince auth is no longer needed.Test plan
🤖 Generated with Claude Code