AI 工具設定
AI 工具接入總覽
使用一個 Felo API key,將終端編碼工具、編輯器和 Agent 平台接入 Felo 模型。選擇用戶端,再設定 API key、協議位址和模型。
使用一個 Felo API key,將終端編碼工具、編輯器和 Agent 平台接入 Felo 模型。選擇用戶端,再設定 API key、協議位址和模型。
開始之前
你需要一個 Felo API Platform key。同一個 key 可用於模型協議、Agent 使用者端、Search、Web Fetch、PPT、Mindmap、LiveDocs、X Search、YouTube Subtitling、Landing Page 和 SuperAgent API。
export FELO_API_KEY="YOUR_API_KEY"選擇你的工具
應該選擇哪個 Base URL?
| 工具要求 | 使用這個 Base URL |
|---|---|
| OpenAI-compatible endpoint | https://openapi.felo.ai/api/v1 |
| Anthropic-compatible endpoint | https://openapi.felo.ai/api |
| Chat Completions URL | https://openapi.felo.ai/api/v1 |
| Messages API host | https://openapi.felo.ai/api |
| 模型範例 | Model ID |
驗證設定
選擇 Felo provider 中的模型並傳送簡短訊息;編碼任務請使用支援工具呼叫的模型。
疑難排解
| 問題 | 檢查專案 |
|---|---|
| 認證失敗 | 確認 key 已正確複製,並已匯出為 FELO_API_KEY |
| 工具呼叫了錯誤的 provider | 檢查目前 workspace 或 session 是否已選擇 Felo provider |
| Base URL 錯誤 | OpenAI-compatible 使用者端使用 https://openapi.felo.ai/api/v1,Anthropic-compatible 使用者端使用 https://openapi.felo.ai/api |
| 找不到模型 | 選擇一個出現在 Felo 模型列表中的模型 |
| 工具忽略本機設定 | 如果使用者端要求使用者層級設定,請把 provider 設定移到使用者層級設定中 |