Skip to content

Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.

Go

docs(troubleshooting): explain macOS proxy settings for any AI coding tool (#11242)

Bohan Jiang1fa071232282
diff --git a/apps/docs/content/docs/troubleshooting.fr.mdx b/apps/docs/content/docs/troubleshooting.fr.mdx
index 0da16dfe7d..627728e9a1 100644
--- a/apps/docs/content/docs/troubleshooting.fr.mdx
+++ b/apps/docs/content/docs/troubleshooting.fr.mdx
@@ -165,6 +165,15 @@ Un daemon en ligne ne signifie pas que l'outil lui-même fonctionne. Ouvrez l'en
Exécutez d'abord ce même outil directement dans un terminal sur l'ordinateur d'exécution. Si l'outil ne démarre pas seul, corrigez sa connexion ou sa configuration, puis relancez l'exécution depuis le journal d'exécution.
+</Accordion>
+<Accordion title="L'outil de codage IA expire derrière un proxy sous macOS" id="ai-coding-tool-times-out-behind-a-macos-proxy" value="ai-coding-tool-times-out-behind-a-macos-proxy">
+
+Si un outil de codage IA comme Grok fonctionne dans un terminal mais expire dans Multica Desktop, vérifiez si le terminal exporte des variables de proxy. Sous macOS, le daemon local et les outils qu’il lance héritent des variables d’environnement du processus qui les lance. Un lancement depuis le Dock ne charge pas les variables exportées par votre shell et ne convertit pas les réglages de proxy réseau de macOS en variables d’environnement.
+
+Pour un seul agent, ajoutez les variables de proxy requises par son outil dans [Variables d’environnement](/agents-create#variables-denvironnement-et-identifiants). Par exemple, pour un proxy HTTP local, utilisez `HTTPS_PROXY=http://127.0.0.1:7897` en remplaçant cette valeur par l’adresse réelle du proxy. Si Multica est hébergé sur votre machine, ajoutez à `NO_PROXY` les hôtes à joindre directement, par exemple `localhost,127.0.0.1,::1`. Lancez une nouvelle exécution pour appliquer les changements.
+
+Ces réglages s’appliquent uniquement au processus de l’outil de cet agent, pas au daemon. Si le daemon a besoin du proxy pour joindre le serveur Multica ou pour récupérer la liste à jour des modèles (il la récupère avec son propre environnement), configurez son environnement de lancement séparément. Pour un daemon lancé à l’ouverture de session, voir [Démarrage à l’ouverture de session](/daemon-runtimes#autostart).
+
</Accordion>
<Accordion title="Les exécutions se bloquent sur macOS après une mise à jour du CLI" id="runs-hang-on-macos-after-a-cli-upgrade" value="runs-hang-on-macos-after-a-cli-upgrade">
diff --git a/apps/docs/content/docs/troubleshooting.ja.mdx b/apps/docs/content/docs/troubleshooting.ja.mdx
index be9e95bc4b..f78b4ef22b 100644
--- a/apps/docs/content/docs/troubleshooting.ja.mdx
+++ b/apps/docs/content/docs/troubleshooting.ja.mdx
@@ -165,6 +165,15 @@ multica issue runs <issue-id>
まず実行用コンピューターのターミナルで、同じツールを直接実行してください。ツール単体でも起動できない場合は、先にツールのログインや設定を修復してから、実行ログから実行を再試行します。
+</Accordion>
+<Accordion title="macOS のプロキシ環境で AI コーディングツールがタイムアウトする" id="ai-coding-tool-times-out-behind-a-macos-proxy" value="ai-coding-tool-times-out-behind-a-macos-proxy">
+
+Grok などの AI コーディングツールがターミナルでは動作するのに Multica Desktop でタイムアウトする場合は、ターミナルでプロキシ用の環境変数をエクスポートしているか確認してください。macOS では、ローカルデーモンとデーモンが起動するツールは起動元の環境変数を引き継ぎます。Dock から Desktop を起動すると、シェルでエクスポートした変数や、macOS の「ネットワーク」で設定したプロキシは環境変数に反映されません。
+
+特定のエージェントだけで使う場合は、そのエージェントの[環境変数](/agents-create#環境変数と認証情報)にツールが必要とするプロキシ変数を追加します。ローカルの HTTP プロキシなら、たとえば `HTTPS_PROXY=http://127.0.0.1:7897` を実際のプロキシアドレスに置き換えて設定します。Multica をローカルでホストしている場合は、直接接続するホストを `NO_PROXY` に追加します。例は `localhost,127.0.0.1,::1` です。新しい実行を開始すると設定が反映されます。
+
+この設定はそのエージェントのツールのプロセスだけに適用され、デーモンには適用されません。デーモンが Multica サーバーへの接続にプロキシを必要とする場合や、最新のモデル一覧を取得したい場合(デーモンは自身の環境でモデル一覧を取得します)は、デーモンの起動環境を別途設定してください。ログイン時に自動起動するデーモンについては[ログイン時の自動起動](/daemon-runtimes#autostart)を参照してください。
+
</Accordion>
<Accordion title="CLI のアップグレード後に macOS で実行が止まる" id="runs-hang-on-macos-after-a-cli-upgrade" value="runs-hang-on-macos-after-a-cli-upgrade">
diff --git a/apps/docs/content/docs/troubleshooting.ko.mdx b/apps/docs/content/docs/troubleshooting.ko.mdx
index 7048c8b3ea..2a26a5271f 100644
--- a/apps/docs/content/docs/troubleshooting.ko.mdx
+++ b/apps/docs/content/docs/troubleshooting.ko.mdx
@@ -165,6 +165,15 @@ multica issue runs <issue-id>
먼저 실행 컴퓨터의 터미널에서 같은 도구를 직접 실행하세요. 도구 자체도 시작할 수 없다면 도구 로그인 또는 설정을 먼저 수정하고 실행 로그에서 실행을 재시도합니다.
+</Accordion>
+<Accordion title="macOS에서 프록시를 사용할 때 AI 코딩 도구 시간이 초과됨" id="ai-coding-tool-times-out-behind-a-macos-proxy" value="ai-coding-tool-times-out-behind-a-macos-proxy">
+
+Grok 같은 AI 코딩 도구가 터미널에서는 동작하지만 Multica Desktop에서는 시간이 초과된다면 터미널에서 프록시 환경 변수를 내보내는지 확인하세요. macOS에서는 로컬 데몬과 데몬이 시작한 도구가 자신을 시작한 프로세스의 환경 변수를 상속합니다. Dock에서 Desktop을 시작하면 셸에서 내보낸 변수를 읽거나 macOS 네트워크 프록시 설정을 환경 변수로 변환하지 않습니다.
+
+특정 에이전트에만 프록시가 필요하면 해당 에이전트의 [환경 변수](/agents-create#환경-변수와-자격-증명)에 도구에 필요한 프록시 변수를 추가하세요. 로컬 HTTP 프록시라면 `HTTPS_PROXY=http://127.0.0.1:7897`과 같이 설정하고 실제 프록시 주소를 사용하세요. Multica를 로컬에서 호스팅한다면 직접 연결할 호스트를 `NO_PROXY`에 추가하세요. 예를 들어 `localhost,127.0.0.1,::1`을 사용할 수 있습니다. 새 실행을 시작하면 설정이 적용됩니다.
+
+이 설정은 해당 에이전트의 도구 프로세스에만 적용되고 데몬에는 적용되지 않습니다. 데몬이 Multica 서버에 연결할 때 프록시가 필요하거나 최신 모델 목록을 가져와야 한다면(데몬은 자신의 환경으로 모델 목록을 가져옵니다) 데몬의 시작 환경을 별도로 설정하세요. 로그인 시 자동으로 시작되는 데몬은 [로그인 시 자동 시작](/daemon-runtimes#autostart)을 참고하세요.
+
</Accordion>
<Accordion title="CLI 업그레이드 후 macOS에서 실행이 멈춤" id="runs-hang-on-macos-after-a-cli-upgrade" value="runs-hang-on-macos-after-a-cli-upgrade">
diff --git a/apps/docs/content/docs/troubleshooting.mdx b/apps/docs/content/docs/troubleshooting.mdx
index e2b1e83b6f..7635964bc7 100644
--- a/apps/docs/content/docs/troubleshooting.mdx
+++ b/apps/docs/content/docs/troubleshooting.mdx
@@ -165,6 +165,15 @@ An online daemon does not mean the tool itself works. Open the run's detailed re
Run the same tool directly in a terminal on the executing computer first. If the tool cannot start on its own, fix its sign-in or configuration, then retry the run from the execution log.
+</Accordion>
+<Accordion title="AI coding tool times out behind a macOS proxy" id="ai-coding-tool-times-out-behind-a-macos-proxy" value="ai-coding-tool-times-out-behind-a-macos-proxy">
+
+If an AI coding tool such as Grok works in a terminal but times out in Multica Desktop, check whether the terminal exports proxy variables. On macOS, the local daemon and the tools it starts inherit environment variables from their launcher. Starting Desktop from the Dock does not load your shell exports or turn macOS Network proxy settings into environment variables.
+
+For a single agent, add the proxy variables its tool needs under [Environment variables](/agents-create#environment-variables-and-credentials), for example `HTTPS_PROXY=http://127.0.0.1:7897` for a local HTTP proxy. Use your actual proxy address. If you host Multica locally, add the local hosts that should connect directly to `NO_PROXY`, for example `localhost,127.0.0.1,::1`. Start a new run to apply the changes.
+
+These settings apply only to that agent's tool process, not to the daemon. If the daemon needs the proxy to reach the Multica server, or to fetch up-to-date model lists (it fetches them with its own environment), configure the daemon's launch environment separately. For a daemon that starts at login, see [Start at login](/daemon-runtimes#autostart).
+
</Accordion>
<Accordion title="Runs hang on macOS after a CLI upgrade" id="runs-hang-on-macos-after-a-cli-upgrade" value="runs-hang-on-macos-after-a-cli-upgrade">
diff --git a/apps/docs/content/docs/troubleshooting.zh-Hant.mdx b/apps/docs/content/docs/troubleshooting.zh-Hant.mdx
index 641a735c2f..3a02e3fa86 100644
--- a/apps/docs/content/docs/troubleshooting.zh-Hant.mdx
+++ b/apps/docs/content/docs/troubleshooting.zh-Hant.mdx
@@ -165,6 +165,15 @@ multica issue runs <issue-id>
先在執行電腦的終端中直接執行同一款工具。工具自身也無法開始時,先修復工具登入或配置,再從執行日誌重試執行。
+</Accordion>
+<Accordion title="AI 程式設計工具在 macOS 代理環境中逾時" id="ai-coding-tool-times-out-behind-a-macos-proxy" value="ai-coding-tool-times-out-behind-a-macos-proxy">
+
+如果 Grok 等 AI 程式設計工具在終端機中執行正常,但在 Multica 桌面版中逾時,請檢查終端機是否匯出了代理環境變數。在 macOS 上,本機守護程序和它啟動的工具會繼承啟動它們的程序的環境變數。從 Dock 啟動桌面版時,應用程式不會讀取 shell 匯出的變數,也不會將 macOS「網路」中的代理設定轉換為環境變數。
+
+如果只有一名 AI 代理需要透過網路代理連線,請在該 AI 代理的[環境變數](/agents-create#環境變數與憑據)中加入其工具所需的代理變數。例如,本機 HTTP 代理可使用 `HTTPS_PROXY=http://127.0.0.1:7897`,請換成實際的代理位址。如果 Multica 部署在本機,請將需要直接連線的主機加入 `NO_PROXY`,例如 `localhost,127.0.0.1,::1`。啟動一次新的執行以套用變更。
+
+這些設定只適用於該 AI 代理的工具程序,不適用於守護程序。如果守護程序需要透過網路代理連線 Multica 伺服器,或需要取得最新的模型清單(守護程序以自身的環境取得模型清單),請另外設定其啟動環境。開機自啟的守護程序請見[開機自啟](/daemon-runtimes#autostart)。
+
</Accordion>
<Accordion title="升級 CLI 後 macOS 上的執行卡住" id="runs-hang-on-macos-after-a-cli-upgrade" value="runs-hang-on-macos-after-a-cli-upgrade">
diff --git a/apps/docs/content/docs/troubleshooting.zh.mdx b/apps/docs/content/docs/troubleshooting.zh.mdx
index cf6cd8fda7..acd7437f67 100644
--- a/apps/docs/content/docs/troubleshooting.zh.mdx
+++ b/apps/docs/content/docs/troubleshooting.zh.mdx
@@ -165,6 +165,15 @@ multica issue runs <issue-id>
先在执行电脑的终端中直接运行同一款工具。工具自身也无法开始时,先修复工具登录或配置,再从执行日志重试运行。
+</Accordion>
+<Accordion title="AI 编程工具在 macOS 代理网络中超时" id="ai-coding-tool-times-out-behind-a-macos-proxy" value="ai-coding-tool-times-out-behind-a-macos-proxy">
+
+如果 Grok 等 AI 编程工具在终端中运行正常,在 Multica 桌面端却超时,请检查终端是否导出了代理环境变量。在 macOS 上,本地守护进程和它启动的工具会继承启动它们的进程的环境变量。从程序坞启动桌面端时,应用不会读取 shell 导出的变量,也不会将 macOS「网络」中的代理设置转换成环境变量。
+
+如果只有一个智能体需要代理,请在该智能体的[环境变量](/agents-create#环境变量与凭据)中添加它的工具所需的代理变量。例如,本地 HTTP 代理可设置为 `HTTPS_PROXY=http://127.0.0.1:7897`,请换成实际的代理地址。如果 Multica 部署在本机,可将需要直连的主机加入 `NO_PROXY`,例如 `localhost,127.0.0.1,::1`。开始一次新的运行,使修改生效。
+
+这些设置只作用于该智能体的工具进程,不作用于守护进程。如果守护进程需要通过代理连接 Multica 服务器,或需要获取最新的模型列表(守护进程用自己的环境获取模型列表),请单独配置它的启动环境。开机自启的守护进程见[开机自启](/daemon-runtimes#autostart)。
+
</Accordion>
<Accordion title="升级 CLI 后 macOS 上的运行卡住" id="runs-hang-on-macos-after-a-cli-upgrade" value="runs-hang-on-macos-after-a-cli-upgrade">