mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #1309] [Issue]: Vertex Gemini connection stopped working (~2 days ago) — new API key and Top-K changes don't fix it #646
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#646
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @GetBeholder on GitHub (May 26, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1309
Originally assigned to: @SpicyMarinara on GitHub.
Summary
Vertex Gemini (Google Vertex AI / Gemini) stopped connecting roughly two days
before this report; it had been working fine before that. The reporter tried a new
API key and adjusting Top-K (both in connection settings and per-bot) without
success. They are unsure whether it is a bug or a configuration issue.
Expected behavior
The Vertex Gemini connection should connect and generate as it did before it
stopped working.
Actual behavior
An error prevents Vertex Gemini from connecting; changing the API key and adjusting
Top-K (connection-level and per-bot) does not resolve it.
Steps to reproduce
Impact area
Environment
Logs, screenshots, or video
No error text was provided. The exact error message and HTTP status from the failed
connection are the key missing facts — for example 401/403 (auth, permissions, or
quota), 400 (bad request, possibly an invalid parameter such as Top-K), or a
network/transport error. This determines whether the cause is external (Google-side
key/quota/API change) or a Marinara request/transport issue.
Regression notes
Worked until roughly two days before the report (≈ 5/22/26), then stopped. The
sudden stop without local changes suggests a possible external (Google Vertex)
change, a key/quota/permission change, or a Marinara update — to be confirmed with
the error detail.
Additional context
Source: forum report by Awwww (1-Star), 5/24/26 3:25 PM. The reporter is unsure
whether this is a bug or a configuration issue and has already ruled out a stale
API key and basic Top-K tweaks.
Triage pointer (from a scan, not from the reporter): the
google_vertexprovider("Google Vertex AI") transport is in
src-tauri/src/commands/storage/llm.rs(provider handling ~L845, models URL ~L937, base
https://generativelanguage.googleapis.com~L960 — note this is the GenerativeLanguage API host rather than a Vertex AI
*-aiplatform.googleapis.comhost).topKis a configurable generation parameter (default 0 insrc/engine/contracts/constants/defaults.ts, schema min 0). Gemini can rejectout-of-range
topKvalues; worth checking whethertopKis forwarded to theVertex/Gemini request and whether a 0/invalid value is filtered. The exact error
status would confirm whether this is an auth/quota issue (likely external) or a
parameter/transport bug.
Note the version string "11.3.0" and the Termux/Node self-hosted setup — confirm
which build/backend is in scope, since other current reports are v1.6.x.
Template check
Please uncheck the box below before submitting so we know you read the template. It is intentionally pre-checked:
@SpicyMarinara commented on GitHub (May 27, 2026):
Fixed on refactor in
8058f66dd4: Vertex now defaults to the Vertex AI aiplatform endpoint in both generation and model lookup, and Gemini topK=0 is filtered from requests. Validated with pnpm check and targeted Rust tests.