Skip to content

Commit de0e145

Browse files
committed
fix: 更新本地 LLM fallback 并修复 README_EN.md 的排版
1 parent 659e827 commit de0e145

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

README_EN.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,8 @@ After running for the first time, type `/login` in the REPL to enter the login c
149149
2. **OpenAI / Gemini / Grok**: Connect to cloud services using their respective protocols.
150150
- **Gemini (Google Auth)**: Supports interactive browser login.
151151
1. In the Google Cloud Console, navigate to **APIs & Services > OAuth consent screen** and configure the OAuth client (Set User Type to External).
152-
2. Download the credentials JSON format and save it as `.files/OAuth.json` in the project root. 3. Leave the API Key field blank and press Enter in the `/login` configuration interface; the CLI will automatically open your browser for Google OAuth 2.0 authorization and fetch available models.
152+
2. Download the credentials in JSON format and save them as `.files/OAuth.json` in the project root.
153+
3. Leave the API Key field blank and press Enter in the `/login` configuration interface; the CLI will automatically open your browser for Google OAuth 2.0 authorization and fetch available models.
153154
3. **Local LLM**: **(Recommended)** Use models running locally.
154155
- Supports **Ollama**, **LM Studio**, **Jan.ai**, **LocalAI**.
155156
- **Ollama Deep Integration**: View installed models directly in the CLI, or enter a model name (e.g., `llama3.1`) to pull it instantly. Supports interactive model selection navigation and hardware status auto-detection.

src/utils/swarm/teammateModel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ import { getAPIProvider } from '../model/providers.js'
77
// the correct model ID. For local provider, it uses process.env.LOCAL_MODEL.
88
export function getHardcodedTeammateModelFallback(): string {
99
const provider = getAPIProvider()
10-
if (provider === 'local') return process.env.LOCAL_MODEL || 'claude-opus-4-6'
10+
if (provider === 'local') return process.env.LOCAL_MODEL || 'llama3.1'
1111
return CLAUDE_OPUS_4_6_CONFIG[provider]
1212
}

0 commit comments

Comments
 (0)