AI 提供商設定參考
開啟 Notomo → 設定 → AI → Providers 管理提供商。Notomo 將賬戶憑證和 API Key 儲存在 macOS 鑰匙串中;只有已連線且啟用的提供商才會出現在模型選擇器中。
Account 提供商
Section titled “Account 提供商”ChatGPT Account
Section titled “ChatGPT Account”- 在 Account 區域按一下 Sign in with ChatGPT。
- 按登入視窗提示完成授權。
- 登入成功後保持 ChatGPT 開關啟用。
退出賬戶會從模型選擇器中移除 ChatGPT 模型。連線過程不依賴本地 CLI。
xAI Account
Section titled “xAI Account”- 在 Account 區域按一下 Sign in with xAI。
- 按登入提示使用 SuperGrok 或 X Premium 賬戶完成授權。
- 登入成功後保持 xAI 開關啟用。
連線過程不依賴本地 CLI。登入狀態失效時,回到此頁面重新登入。
API 提供商
Section titled “API 提供商”按一下 Add API Provider,選擇服務並填寫所需欄位:
| 提供商 | 必填設定 | 其他設定 |
|---|---|---|
| OpenAI API | API Key | — |
| Google Gemini API | API Key | — |
| OpenRouter API | API Key | 可取得或手動新增模型 |
| DeepSeek API | API Key | — |
| GLM Coding Plan | API Key | Region:Global 或 China |
| Cloudflare Workers AI | Account ID、API Token | 可取得或手動新增模型 |
| OpenAI-compatible API | Provider Name、API Base URL | API Key 可選;可取得或手動新增模型 |
填寫完成後:
- 按一下 Verify 測試憑證和服務地址。
- 對支援動態模型清單的服務,按一下 Fetch Models 並選擇要使用的模型。
- 如果目標模型未列出,按一下 Custom 手動填寫模型 ID。
- 儲存設定並確認該提供商已啟用。
GLM Coding Plan 的 Region 只切換 API endpoint,不會更改已填寫的 API Key 或驗證狀態。
OpenAI-compatible API 注意事項
Section titled “OpenAI-compatible API 注意事項”- Provider Name 必須唯一,用於在設定和模型選擇器中區分服務。
- 優先使用
https://Base URL。 - Notomo 允許指向本機服務的
http://URL。 - 使用其他普通 HTTP 地址時,請注意請求內容和 API Key 不會被加密。
- 某些本地服務不需要 API Key,此時可以留空。
Antigravity CLI
Section titled “Antigravity CLI”Antigravity 是命令列提供商,需要先在 Mac 上安裝 agy 並在終端中完成登入。Notomo 不負責安裝或登入 CLI。
完成後回到 Providers → Command Line 並啟用 Antigravity。只有 CLI 已安裝且開關啟用時,它的模型才會出現在模型選擇器中。
編輯或停用提供商
Section titled “編輯或停用提供商”- 關閉提供商開關會隱藏其模型,但不會立即刪除憑證。
- 按一下已設定的 API 提供商可重新驗證、調整模型或更新憑證。
- Account 提供商使用 Sign Out 斷開連線。
- 刪除 API 設定前,請確認沒有需要繼續使用的自訂模型。
如果模型沒有出現,請依次確認:提供商連線成功、開關已啟用、模型已經新增,以及 Account 登入或 CLI 會話仍然有效。更多排查方法參閱常見問題。