summaryrefslogtreecommitdiff
path: root/src/components/SettingsPanel.tsx
diff options
context:
space:
mode:
authorChristian Cleberg <[email protected]>2026-04-18 22:57:00 -0500
committerChristian Cleberg <[email protected]>2026-04-18 22:57:00 -0500
commit4c5ee2b9f94d9b9112c2c43edc71f4d9dbc4447b (patch)
treec065cc742c60674127e01310ac413911b28ac31f /src/components/SettingsPanel.tsx
parenta859138a50a7b7a53fd0b918c94cd7174689ff95 (diff)
downloadbrand-bench-4c5ee2b9f94d9b9112c2c43edc71f4d9dbc4447b.tar.gz
brand-bench-4c5ee2b9f94d9b9112c2c43edc71f4d9dbc4447b.tar.bz2
brand-bench-4c5ee2b9f94d9b9112c2c43edc71f4d9dbc4447b.zip
clarify ollama settings in docker environments
Diffstat (limited to 'src/components/SettingsPanel.tsx')
-rw-r--r--src/components/SettingsPanel.tsx8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/components/SettingsPanel.tsx b/src/components/SettingsPanel.tsx
index bb44c74..fd0b15e 100644
--- a/src/components/SettingsPanel.tsx
+++ b/src/components/SettingsPanel.tsx
@@ -86,7 +86,7 @@ export function SettingsPanel({ settings, onChange, onClose }: Props) {
onChange={e => setUrl(e.target.value)}
onBlur={commitUrl}
onKeyDown={e => e.key === 'Enter' && commitUrl()}
- placeholder="http://localhost:11434"
+ placeholder="empty = same-origin proxy (recommended)"
spellCheck={false}
/>
<button
@@ -147,8 +147,10 @@ export function SettingsPanel({ settings, onChange, onClose }: Props) {
Install from <strong>ollama.com</strong>, then pull any model to get started.
</p>
<p>
- If connection fails, ensure Ollama is running and CORS is open:<br />
- <code>OLLAMA_ORIGINS=* ollama serve</code>
+ Leave <strong>Server URL</strong> empty to route through the app's
+ own server (works automatically with the Docker setup). For local
+ dev, set it to <code>http://localhost:11434</code> and ensure CORS
+ is open: <code>OLLAMA_ORIGINS=* ollama serve</code>
</p>
</div>
</div>