From bbddbebef22d9a78460a3fe15986cccfde8c16a8 Mon Sep 17 00:00:00 2001 From: catlog22 Date: Thu, 6 Nov 2025 11:01:11 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=B7=BB=E5=8A=A0Gemini=E6=A8=A1?= =?UTF-8?q?=E5=9E=8B404=E9=94=99=E8=AF=AF=E5=9B=9E=E9=80=80=E7=AD=96?= =?UTF-8?q?=E7=95=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 在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 --- .claude/workflows/intelligent-tools-strategy.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.claude/workflows/intelligent-tools-strategy.md b/.claude/workflows/intelligent-tools-strategy.md index 2cdb2ed7..6b44fe8a 100644 --- a/.claude/workflows/intelligent-tools-strategy.md +++ b/.claude/workflows/intelligent-tools-strategy.md @@ -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