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

Abierto
#156 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
28/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
google-cloud, typescript
Área
api, cli

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Sin datos de lenguaje
Estrellas
5
Forks
0
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de posit-dev/assistant-feedback

Todos los issues de posit-dev/assistant-feedback

Issues similares

Más issues de Backend & API Design

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.