Thinking Effort SubMenu in Posit Assistant 1.14.0 Not Available for Gemini 4 models via google-vertex

Aperta
#156 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
28/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
google-cloud, typescript
Ambito
api, cli

Direzione di ricerca

The payload names no source files; it describes the Vertex AI client forwarding thinkingEffort into providerOptions only for anthropic-messages requests, and Vertex model discovery not populating thinkingEffortLevels for Gemini models. Start by locating where those two behaviours are implemented in the Posit Assistant code. Done means Gemini models on google-vertex show the Thinking effort submenu and forward the selected level, which needs maintainer agreement on the design first.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

System details:

Positron and OS details:

Positron Version: 2026.11.1 build 4
Code - OSS Version: 1.138.0
Commit: e915bbd8bcb9a26b119ab8fbbec94db5bdf53265
Date: 2026-11-06T20:07:40-07:00 (3 wks ago)
Electron: 42.11.18
Chromium: 148.0.7778.280
Node.js: 24.19.0
V8: 14.8.178.38-electron.0
OS: Darwin arm64 25.6.0

Session Details & Environment
  • Posit Assistant: 1.14.0
  • Host: Positron 2026.11.1 (macOS arm64)
  • Provider: Google Vertex AI (type: "google-vertex", authenticated via ADC)

Summary of Issue/Feature Request

In Posit Assistant 1.14.0, I'm not seeing the the Thinking effort submenu appear for Gemini 4 models when accessing through the Google Vertex AI (google-vertex) provider. The submenu does appear for Anthropic models (e.g., Claude Sonnet 5.5) on the same Vertex provider.

Steps to Reproduce
  1. Configure Google Vertex AI as a provider using the built-in google-vertex type.
  2. Select an Anthropic model (e.g., Claude Sonnet 5.5) from the Vertex provider and the Thinking effort submenu appears and user can change selection.
  3. Switch to a Gemini 4 model from the same Vertex provider and the Thinking effort submenu does not appear.
Expected Behavior

The Thinking effort submenu is available for supported Gemini models on Google Vertex AI (matching the 1.14.0 support for Gemini 4 Argon/Carbon and Extra High for Hydrogen/Neon), and the selected thinking level is passed along for any Gemini 4 model requests.

Actual Behavior
  • The Thinking effort submenu does not appear for Gemini models on google-vertex. Minor investigation suggests Vertex model discovery does not populate thinkingEffortLevels for Google/Gemini models (only for Anthropic models).
  • Posit Assistant reports that "the Vertex AI client only forwards thinkingEffort into providerOptions for Anthropic (anthropic-messages) requests; for Gemini requests, providerOptions is left undefined, so models.overrides cannot work around the gap."
Additional Context

Our organization relies on GCP Application Default Credentials (ADC) and we cannot switch to direct Gemini API keys, so exposing Gemini thinking-effort controls on google-vertex would bring parity with the direct Gemini provider and Claude-on-Vertex. If exposing the thinking-effort submenu is not an option, it would be good confirm and present the 'default' thinking effort in use within the UI. It would also be good to document how the user might be able to specify thinking levels in providers.json or other user settings files.

Lingua principale
Nessun dato sulla lingua
Stelle
5
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di posit-dev/assistant-feedback

Tutte le issue di posit-dev/assistant-feedback

Issue simili

Altre issue su Backend & API Design

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.