mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-05 01:50:27 +08:00
docs: 添加Gemini模型404错误回退策略
在intelligent-tools-strategy.md中添加错误处理准则: - Model Selection部分:快速参考404错误回退到gemini-2.5-pro - Tool Specifications部分:详细的错误处理指南,涵盖HTTP 429和404错误 变更详情: - HTTP 404: gemini-3-pro-preview-11-2025返回404时回退到gemini-2.5-pro - HTTP 429: 保持现有处理逻辑(检查结果是否存在) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -46,6 +46,8 @@ codex -C [dir] --full-auto exec "[prompt]" [-m model] [--skip-git-repo-check -s
|
||||
- `gemini-2.5-pro` - Analysis (alternative)
|
||||
- `gemini-2.5-flash` - Documentation updates
|
||||
|
||||
**Error Handling**: If `gemini-3-pro-preview-11-2025` returns 404 error, fallback to `gemini-2.5-pro`
|
||||
|
||||
**Qwen**:
|
||||
- `coder-model` - Code analysis (default)
|
||||
- `vision-model` - Image analysis (rare)
|
||||
@@ -121,7 +123,9 @@ codex -C [dir] --full-auto exec "[prompt]" [-m model] [--skip-git-repo-check -s
|
||||
|
||||
**Priority**: Prefer Gemini; use Qwen as fallback when Gemini unavailable
|
||||
|
||||
**Error Handling**: Gemini may show HTTP 429 error but still return results - check if results exist (results present = success, no results = retry/fallback to Qwen)
|
||||
**Error Handling**:
|
||||
- **HTTP 429**: May show error but still return results - check if results exist (results present = success, no results = retry/fallback to Qwen)
|
||||
- **HTTP 404**: If `gemini-3-pro-preview-11-2025` returns 404, fallback to `gemini-2.5-pro`
|
||||
|
||||
### Codex
|
||||
|
||||
|
||||
Reference in New Issue
Block a user