Skip to content

Commit 74b3ec1

Browse files
julienldclaude
andcommitted
feat(examples): update open-webui demo with gpt-oss:20b and debugging
- Switch from qwen3:8b to gpt-oss:20b (OpenAI open-source model) - Add OLLAMA_DEBUG=1 for verbose logging - Add WEBUI_LOG_LEVEL=DEBUG for Open WebUI debugging - Add debugging instructions in comments 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 1b81dad commit 74b3ec1

1 file changed

Lines changed: 13 additions & 3 deletions

File tree

examples/open-webui/docker-compose.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
# 2. docker compose up -d
55
# 3. Wait for model download: docker compose logs -f ollama
66
# 4. Open http://localhost:3000
7+
#
8+
# Debugging tool calling issues:
9+
# - Check Ollama logs: docker compose logs -f ollama
10+
# - Check Open WebUI logs: docker compose logs -f open-webui
11+
# - Test Ollama directly: curl http://localhost:11434/api/chat -d '{"model":"gpt-oss:20b","messages":[{"role":"user","content":"test"}],"stream":false}'
712

813
services:
914
ollama:
@@ -13,6 +18,9 @@ services:
1318
- ollama_data:/root/.ollama
1419
ports:
1520
- "11434:11434"
21+
environment:
22+
# Enable debug logging for tool calling issues
23+
- OLLAMA_DEBUG=1
1624
restart: unless-stopped
1725
# Uncomment for NVIDIA GPU support:
1826
# deploy:
@@ -38,8 +46,8 @@ services:
3846
echo "Ollama not ready yet..."
3947
sleep 2
4048
done
41-
echo "Ollama is ready! Pulling qwen3:8b model..."
42-
curl -X POST http://ollama:11434/api/pull -d '{"name":"qwen3:8b"}'
49+
echo "Ollama is ready! Pulling gpt-oss:20b model (OpenAI open-source with native tool calling)..."
50+
curl -X POST http://ollama:11434/api/pull -d '{"name":"gpt-oss:20b"}'
4351
echo "Model ready!"
4452
4553
ha-mcp:
@@ -62,7 +70,9 @@ services:
6270
- OLLAMA_BASE_URL=http://ollama:11434
6371
# Pre-configure ha-mcp as a tool server
6472
- TOOL_SERVER_CONNECTIONS=[{"url":"http://ha-mcp:8086/mcp","path":"","type":"mcp","auth_type":"none","key":"","config":{"enable":true},"info":{"id":"ha-mcp","name":"Home Assistant","description":"Control your smart home"}}]
65-
- DEFAULT_MODELS=qwen3:8b
73+
- DEFAULT_MODELS=gpt-oss:20b
74+
# Enable debug logging for tool calling issues
75+
- WEBUI_LOG_LEVEL=DEBUG
6676
- WEBUI_AUTH=false # Disable auth for demo (remove in production!)
6777
depends_on:
6878
- ollama

0 commit comments

Comments
 (0)