Skip to content

Open-source AI browser agent for Chrome and Firefox (monorepo) 🧠

Fix Companion page routing and provider setup

Barack Sokullu9956a63e9de1
diff --git a/web/companion/index.html b/web/companion/index.html
index e6c0bb809..ce59ba97f 100644
--- a/web/companion/index.html
+++ b/web/companion/index.html
@@ -153,9 +153,9 @@
<p class="intro">You do this once. Apps on this computer need no API key.</p>
<ol class="steps">
<li>Install the companion and open it. Add a subscription in its panel and finish the sign-in in your browser.</li>
- <li>Copy the address, <code>http://127.0.0.1:8327/v1</code>, from the panel or the tray menu.</li>
- <li>In WebBrain, open the <b>Providers</b> page (<b>More…</b> in the side panel's model menu), choose <b>Local OpenAI-compatible Proxy</b> and paste the address in place of the 8317 WebBrain fills in. WebBrain asks for an API key: type anything.</li>
- <li>Click <b>Load models</b>, pick a model, and run <b>Test Connection</b>. Turn on vision only for a model that accepts images.</li>
+ <li>The default address is <code>http://127.0.0.1:8327/v1</code>. If the port changed, copy the address shown in the panel or tray menu.</li>
+ <li>In WebBrain, open the <b>Providers</b> page (<b>More…</b> in the side panel's model menu) and choose <b>WebBrain Companion</b>. Keep its default address unless the app shows another port. No API key is needed on this computer.</li>
+ <li>Click <b>Load Models</b>, pick a model, <b>Save</b>, and run <b>Test Connection</b> before activating the card. Turn on vision only for a model that accepts images.</li>
</ol>
<p class="after-steps">Any OpenAI, Anthropic or Gemini client on this computer can use the same address. To use it from another device, turn on network access in the panel&#x27;s settings; that device then needs the API key the panel shows.</p>
</div>
diff --git a/web/companion/tr/index.html b/web/companion/tr/index.html
index 8b5b4b985..fdf980d47 100644
--- a/web/companion/tr/index.html
+++ b/web/companion/tr/index.html
@@ -153,9 +153,9 @@
<p class="intro">Bunu bir kez yaparsın. Bu bilgisayardaki uygulamaların API anahtarına ihtiyacı yok.</p>
<ol class="steps">
<li>Companion'ı kur ve aç. Panelinden bir abonelik ekle ve girişi tarayıcında tamamla.</li>
- <li>Adresi (<code>http://127.0.0.1:8327/v1</code>) panelden ya da tepsi menüsünden kopyala.</li>
- <li>WebBrain'de <b>Sağlayıcılar</b> sayfasını aç (yan paneldeki model menüsünde <b>Daha fazla…</b>), <b>Local OpenAI-compatible Proxy</b>'yi seç ve adresi WebBrain'in doldurduğu 8317 yerine yapıştır. WebBrain API anahtarı ister: herhangi bir şey yaz.</li>
- <li><b>Modelleri yükle</b>'ye bas, bir model seç ve <b>Bağlantıyı sına</b>. Görseli yalnızca resim kabul eden bir model için aç.</li>
+ <li>Varsayılan adres <code>http://127.0.0.1:8327/v1</code>. Port değiştiyse panelde veya tepsi menüsünde gösterilen adresi kopyala.</li>
+ <li>WebBrain'de <b>Sağlayıcılar</b> sayfasını aç (yan paneldeki model menüsünde <b>Daha fazla…</b>) ve <b>WebBrain Companion</b>'ı seç. Uygulama farklı bir port göstermiyorsa varsayılan adresi koru. Bu bilgisayarda API anahtarı gerekmez.</li>
+ <li><b>Modelleri yükle</b>'ye bas, bir model seç, <b>Kaydet</b> ve kartı etkinleştirmeden önce <b>Bağlantıyı sına</b>. Görseli yalnızca resim kabul eden bir model için aç.</li>
</ol>
<p class="after-steps">Bu bilgisayardaki OpenAI, Anthropic ya da Gemini uyumlu her istemci aynı adresi anahtarsız kullanabilir. Başka bir cihazdan kullanmak için panelin ayarlarından ağ erişimini aç; o cihaz panelin gösterdiği API anahtarını kullanmalı.</p>
</div>
diff --git a/web/vercel.json b/web/vercel.json
index 9f209f51c..9fc9e6ad9 100644
--- a/web/vercel.json
+++ b/web/vercel.json
@@ -1,13 +1,15 @@
{
+ "redirects": [
+ { "source": "/companion", "destination": "/companion/", "permanent": true },
+ { "source": "/companion/tr", "destination": "/companion/tr/", "permanent": true }
+ ],
"rewrites": [
{ "source": "/workflow-editor", "destination": "/workflow-editor/index.html" },
{ "source": "/workflow-editor/", "destination": "/workflow-editor/index.html" },
{ "source": "/privacy", "destination": "/privacy.html" },
{ "source": "/subscribe", "destination": "/subscribe/index.html" },
{ "source": "/subscribe/", "destination": "/subscribe/index.html" },
- { "source": "/companion", "destination": "/companion/index.html" },
{ "source": "/companion/", "destination": "/companion/index.html" },
- { "source": "/companion/tr", "destination": "/companion/tr/index.html" },
{ "source": "/companion/tr/", "destination": "/companion/tr/index.html" },
{ "source": "/blog", "destination": "/blog/index.html" },
{ "source": "/blog/", "destination": "/blog/index.html" },
diff --git a/webbrain-systray/web/build.py b/webbrain-systray/web/build.py
index bd7769c9d..0c84d5d69 100644
--- a/webbrain-systray/web/build.py
+++ b/webbrain-systray/web/build.py
@@ -119,9 +119,9 @@ T = {
"connect_h": "Connect WebBrain",
"connect_p": "You do this once. Apps on this computer need no API key.",
"step1": "Install the companion and open it. Add a subscription in its panel and finish the sign-in in your browser.",
- "step2": "Copy the address, <code>http://127.0.0.1:8327/v1</code>, from the panel or the tray menu.",
- "step3": "In WebBrain, open the <b>Providers</b> page (<b>More…</b> in the side panel's model menu), choose <b>Local OpenAI-compatible Proxy</b> and paste the address in place of the 8317 WebBrain fills in. WebBrain asks for an API key: type anything.",
- "step4": "Click <b>Load models</b>, pick a model, and run <b>Test Connection</b>. Turn on vision only for a model that accepts images.",
+ "step2": "The default address is <code>http://127.0.0.1:8327/v1</code>. If the port changed, copy the address shown in the panel or tray menu.",
+ "step3": "In WebBrain, open the <b>Providers</b> page (<b>More…</b> in the side panel's model menu) and choose <b>WebBrain Companion</b>. Keep its default address unless the app shows another port. No API key is needed on this computer.",
+ "step4": "Click <b>Load Models</b>, pick a model, <b>Save</b>, and run <b>Test Connection</b> before activating the card. Turn on vision only for a model that accepts images.",
"after_steps": "Any OpenAI, Anthropic or Gemini client on this computer can use the same address. To use it from another device, turn on network access in the panel's settings; that device then needs the API key the panel shows.",
"download_h": "Download",
"download_p": f"Version {VERSION}. Each package holds a single program; your settings and logins live in your user folder.",
@@ -206,9 +206,9 @@ T = {
"connect_h": "WebBrain'i bağla",
"connect_p": "Bunu bir kez yaparsın. Bu bilgisayardaki uygulamaların API anahtarına ihtiyacı yok.",
"step1": "Companion'ı kur ve aç. Panelinden bir abonelik ekle ve girişi tarayıcında tamamla.",
- "step2": "Adresi (<code>http://127.0.0.1:8327/v1</code>) panelden ya da tepsi menüsünden kopyala.",
- "step3": "WebBrain'de <b>Sağlayıcılar</b> sayfasını aç (yan paneldeki model menüsünde <b>Daha fazla…</b>), <b>Local OpenAI-compatible Proxy</b>'yi seç ve adresi WebBrain'in doldurduğu 8317 yerine yapıştır. WebBrain API anahtarı ister: herhangi bir şey yaz.",
- "step4": "<b>Modelleri yükle</b>'ye bas, bir model seç ve <b>Bağlantıyı sına</b>. Görseli yalnızca resim kabul eden bir model için aç.",
+ "step2": "Varsayılan adres <code>http://127.0.0.1:8327/v1</code>. Port değiştiyse panelde veya tepsi menüsünde gösterilen adresi kopyala.",
+ "step3": "WebBrain'de <b>Sağlayıcılar</b> sayfasını aç (yan paneldeki model menüsünde <b>Daha fazla…</b>) ve <b>WebBrain Companion</b>'ı seç. Uygulama farklı bir port göstermiyorsa varsayılan adresi koru. Bu bilgisayarda API anahtarı gerekmez.",
+ "step4": "<b>Modelleri yükle</b>'ye bas, bir model seç, <b>Kaydet</b> ve kartı etkinleştirmeden önce <b>Bağlantıyı sına</b>. Görseli yalnızca resim kabul eden bir model için aç.",
"after_steps": "Bu bilgisayardaki OpenAI, Anthropic ya da Gemini uyumlu her istemci aynı adresi anahtarsız kullanabilir. Başka bir cihazdan kullanmak için panelin ayarlarından ağ erişimini aç; o cihaz panelin gösterdiği API anahtarını kullanmalı.",
"download_h": "İndir",
"download_p": f"Sürüm {VERSION}. Her paket tek bir program içerir; ayarların ve girişlerin kullanıcı klasöründe durur.",
diff --git a/webbrain-systray/web/index.html b/webbrain-systray/web/index.html
index e6c0bb809..ce59ba97f 100644
--- a/webbrain-systray/web/index.html
+++ b/webbrain-systray/web/index.html
@@ -153,9 +153,9 @@
<p class="intro">You do this once. Apps on this computer need no API key.</p>
<ol class="steps">
<li>Install the companion and open it. Add a subscription in its panel and finish the sign-in in your browser.</li>
- <li>Copy the address, <code>http://127.0.0.1:8327/v1</code>, from the panel or the tray menu.</li>
- <li>In WebBrain, open the <b>Providers</b> page (<b>More…</b> in the side panel's model menu), choose <b>Local OpenAI-compatible Proxy</b> and paste the address in place of the 8317 WebBrain fills in. WebBrain asks for an API key: type anything.</li>
- <li>Click <b>Load models</b>, pick a model, and run <b>Test Connection</b>. Turn on vision only for a model that accepts images.</li>
+ <li>The default address is <code>http://127.0.0.1:8327/v1</code>. If the port changed, copy the address shown in the panel or tray menu.</li>
+ <li>In WebBrain, open the <b>Providers</b> page (<b>More…</b> in the side panel's model menu) and choose <b>WebBrain Companion</b>. Keep its default address unless the app shows another port. No API key is needed on this computer.</li>
+ <li>Click <b>Load Models</b>, pick a model, <b>Save</b>, and run <b>Test Connection</b> before activating the card. Turn on vision only for a model that accepts images.</li>
</ol>
<p class="after-steps">Any OpenAI, Anthropic or Gemini client on this computer can use the same address. To use it from another device, turn on network access in the panel&#x27;s settings; that device then needs the API key the panel shows.</p>
</div>
diff --git a/webbrain-systray/web/tr/index.html b/webbrain-systray/web/tr/index.html
index 8b5b4b985..fdf980d47 100644
--- a/webbrain-systray/web/tr/index.html
+++ b/webbrain-systray/web/tr/index.html
@@ -153,9 +153,9 @@
<p class="intro">Bunu bir kez yaparsın. Bu bilgisayardaki uygulamaların API anahtarına ihtiyacı yok.</p>
<ol class="steps">
<li>Companion'ı kur ve aç. Panelinden bir abonelik ekle ve girişi tarayıcında tamamla.</li>
- <li>Adresi (<code>http://127.0.0.1:8327/v1</code>) panelden ya da tepsi menüsünden kopyala.</li>
- <li>WebBrain'de <b>Sağlayıcılar</b> sayfasını aç (yan paneldeki model menüsünde <b>Daha fazla…</b>), <b>Local OpenAI-compatible Proxy</b>'yi seç ve adresi WebBrain'in doldurduğu 8317 yerine yapıştır. WebBrain API anahtarı ister: herhangi bir şey yaz.</li>
- <li><b>Modelleri yükle</b>'ye bas, bir model seç ve <b>Bağlantıyı sına</b>. Görseli yalnızca resim kabul eden bir model için aç.</li>
+ <li>Varsayılan adres <code>http://127.0.0.1:8327/v1</code>. Port değiştiyse panelde veya tepsi menüsünde gösterilen adresi kopyala.</li>
+ <li>WebBrain'de <b>Sağlayıcılar</b> sayfasını aç (yan paneldeki model menüsünde <b>Daha fazla…</b>) ve <b>WebBrain Companion</b>'ı seç. Uygulama farklı bir port göstermiyorsa varsayılan adresi koru. Bu bilgisayarda API anahtarı gerekmez.</li>
+ <li><b>Modelleri yükle</b>'ye bas, bir model seç, <b>Kaydet</b> ve kartı etkinleştirmeden önce <b>Bağlantıyı sına</b>. Görseli yalnızca resim kabul eden bir model için aç.</li>
</ol>
<p class="after-steps">Bu bilgisayardaki OpenAI, Anthropic ya da Gemini uyumlu her istemci aynı adresi anahtarsız kullanabilir. Başka bir cihazdan kullanmak için panelin ayarlarından ağ erişimini aç; o cihaz panelin gösterdiği API anahtarını kullanmalı.</p>
</div>