Add conditional export for ANTHROPIC_BASE_URL

This commit is contained in:
Alexandre
2026-07-08 13:32:01 +02:00
committed by GitHub
parent 6248cb3c21
commit 19fe564e17

View File

@@ -20,6 +20,9 @@ if [ -s "$CLAUDE_DESKTOP_COMMAND_FILE" ]; then
else
CLAUDE_DESKTOP_COMMAND="$DEFAULT_CLAUDE_DESKTOP_COMMAND"
fi
if bashio::config.true 'install_headroom'; then
export ANTHROPIC_BASE_URL="http://127.0.0.1:8787"
fi
# Launch the configured command. If a custom/wrapped command fails to start, fall back to
# the plain Claude Desktop launch so the desktop app still comes up for the user.