Model & API (Gemini profile, desktop): all catalog Gemini models fail with HTTP 400/429 while the same key works when called directly
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 52/100
Hướng nghiên cứu
Start at the desktop Model & API profile handling and the Gemini provider request path; the issue gives no source files or tests, so first trace how catalog model IDs are turned into Google API requests. Compare the client request with a direct generateContent request and capture the provider response details for the failing models. Done means catalog Gemini models return appropriate results or actionable errors in Comma, with regression coverage for the reported 400 and 429 cases.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Environment
- Version/build: unknown (client build not readable from this session)
- Client surface: Comma desktop (Electron), Windows station
- OS: Windows
- Architecture: x64
- Error code, if known: HTTP 400 (six model ids) and HTTP 429 (two model ids), reported by the LLM provider
- Frequency: always — 8 of 8 catalog Gemini model ids fail, reproduced on two different API keys on two different days
Conditions and reproduction
Required settings: a Google Gemini API key stored under Settings > Model & API > Profiles.
- Add a Google Gemini API key as a Profile.
- Create a Task whose model is
gemini-3.8-flash(repeat withgemini-3.5-flash,gemini-3.6-flash,gemini-3.7-flash,gemini-3-flash-preview,gemini-flash-latest). - The Task stops immediately with: the model service could not continue this request (LLM provider returned HTTP 400).
Reproduction status: observed and repeated (two API keys, two days, identical results).
Expected result
A Task running on a catalog Gemini model completes normally, as it does for other catalog models.
Actual result
gemini-3-flash-preview,gemini-3.5-flash,gemini-3.6-flash,gemini-3.7-flash,gemini-3.8-flash,gemini-flash-latest→ HTTP 400 on every attempt.gemini-3.1-pro-preview,gemini-pro-latest→ HTTP 429 on every attempt.
Control test with the same key, sent directly to Google (outside Comma)
GET https://generativelanguage.googleapis.com/v1beta/models?key=<KEY>→ 200. The returned list contains all eight model ids above, so the key is valid and the models are enabled for the project.POST .../models/gemini-3.5-flash-lite:generateContent→ 200 in 1.4 s (returned "2 + 2 = 4").POST .../models/gemini-3.8-flash:generateContent→ no 400; no response within 60 s (two attempts).POST .../models/gemini-3.5-flash:generateContent→ no 400; no response within 45 s.
Why this looks like a client-side problem rather than a key or quota problem
- A 400 for every flash model, on every attempt, across two different keys, is not the shape of a quota failure (those come back as 429, which is exactly what the two Pro models return).
- The same key returns 200 from
/v1beta/modelsand 200 from agenerateContentcall, so authentication and project access are fine. - The direct
generateContentcalls forgemini-3.8-flashandgemini-3.5-flashdo not return 400 — they simply take longer than 45-60 s.
Secondary observation (independent of the 400)
gemini-3.8-flash and gemini-3.5-flash did not answer a trivial prompt within 45-60 s when called directly. Even if the 400 is fixed, these thinking models may be too slow to serve as a Router or Task model.
Minimal diagnostics
No logs collected. The only diagnostic is the stop message text quoted in step 3 above.
Workaround
None found. The Router stays on a non-Gemini model.
Related but different: #13 (hosted web app; that report showed a client-side "model cannot be used" entitlement warning, while this one gets an explicit provider HTTP 400/429 from the desktop client).
- Ngôn ngữ chính
- Elixir
- Star
- 740
- Fork
- 61
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của AFK-surf/Comma
-
Paid Task runs rejected with insufficient_credits although the usage page shows 20,000,000 available quotaCó thể đã có người làm @akumatus đã nhận 10 ngày trước. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 32/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 62/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 52/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
Tất cả issue của AFK-surf/Comma
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
intellij-elixir/intellij-elixir#4938 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Attribute selectors match elements without the attribute; [x^=''] matches everythingCó thể đã có người làm @bardrop đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
expert-lsp/expert#1040 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
ash-project/ash_mysql#278 · 2 bình luận ·
-
L: github:actions L: javascript
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100
dependabot/dependabot-core#17100 ·
Maintainer thường phản hồi trong vòng 2 ngày