-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
38 lines (32 loc) · 1.98 KB
/
Copy path.env.example
File metadata and controls
38 lines (32 loc) · 1.98 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Config for the opt-in live tests (tests/live.test.js).
# Copy to .env and fill in — .env is git-ignored. Real environment variables
# take precedence over anything set here.
# Where to send chat requests. Either a bare host (the route below is appended for you) or the
# full endpoint, if you want one of the others in the table.
OPENWEBUI_URL=http://localhost:3000
# The WIRE FORMAT: "openai" (default) or "ollama".
#
# This is a property of the ENDPOINT, not of the server, which is why it cannot be guessed from the
# host: OpenWebUI serves BOTH shapes at different paths. It must match the URL above.
#
# endpoint format notes
# <host>:3000/api/chat/completions openai OpenWebUI's external API. The default, and the only
# one with server-side tools (`tool_ids`).
# <host>:3000/ollama/api/chat ollama OpenWebUI's raw Ollama passthrough, same bearer key.
# Bypasses OpenWebUI middleware; raw Ollama model names.
# <host>:11434/api/chat ollama Bare Ollama, no OpenWebUI at all. Leave the key blank.
#
# Getting this wrong does not fail cleanly: an unknown route returns OpenWebUI's SPA HTML, so the
# symptom is "the response was not JSON" rather than "wrong format".
OPENWEBUI_API_FORMAT=openai
# OpenWebUI API key: Settings -> Account -> API keys. (Leave blank for bare Ollama.)
OPENWEBUI_KEY=sk-...
# Optional. Enables the chat round-trip + structured-output live tests.
# Set explicitly — running these loads this model into VRAM.
OPENWEBUI_MODEL=qwen3:32b
# Optional. A smaller/faster model for utility work (session titles, the `extend:"utility"`
# profile). Used by the E2E observer (USE_ENV) to set `utilityModel`.
OPENWEBUI_UTILITY_MODEL=qwen3:4b
# Optional. A vision-capable model for delegated look/locate/OCR (`ocrModel`). Leave blank to
# let the extension auto-probe; set it to force a specific reader in a real-model E2E run.
OPENWEBUI_VISION_MODEL=