From 424e6d044d1cac2a7d396013672edb4dc02a1c62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Kr=C3=BCger?= Date: Sat, 8 Nov 2025 23:02:07 +0100 Subject: [PATCH] fix: configure LiteLLM without database requirement --- ai/compose.yaml | 8 ++++---- ai/litellm-config.yaml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ai/compose.yaml b/ai/compose.yaml index 01edeb3..4df7f7d 100644 --- a/ai/compose.yaml +++ b/ai/compose.yaml @@ -34,8 +34,8 @@ services: DATABASE_URL: postgresql://${AI_DB_USER}:${AI_DB_PASSWORD}@ai_postgres:5432/${AI_DB_NAME} # OpenAI API configuration (pointing to LiteLLM proxy) - OPENAI_API_BASE_URLS: http://litellm:4000/v1 - OPENAI_API_KEYS: sk-1234 # Dummy key for LiteLLM proxy + OPENAI_API_BASE_URLS: http://litellm:4000 + OPENAI_API_KEYS: sk-1234 # WebUI configuration WEBUI_NAME: ${AI_WEBUI_NAME:-Pivoine AI} @@ -95,10 +95,10 @@ services: environment: TZ: ${TIMEZONE:-Europe/Berlin} ANTHROPIC_API_KEY: ${ANTHROPIC_API_KEY} - LITELLM_MASTER_KEY: ${AI_WEBUI_SECRET_KEY} + DATABASE_URL: null volumes: - ./litellm-config.yaml:/app/litellm-config.yaml:ro - command: ["--config", "/app/litellm-config.yaml", "--port", "4000", "--num_workers", "1"] + command: ["--config", "/app/litellm-config.yaml", "--port", "4000", "--detailed_debug", "--drop_params"] networks: - compose_network healthcheck: diff --git a/ai/litellm-config.yaml b/ai/litellm-config.yaml index 3c9576e..d4a247a 100644 --- a/ai/litellm-config.yaml +++ b/ai/litellm-config.yaml @@ -26,4 +26,4 @@ model_list: litellm_settings: drop_params: true - set_verbose: false + set_verbose: true