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

オープン
#156 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
28/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
google-cloud, typescript
領域
api, cli

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
言語のデータがありません
スター
5
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

posit-dev/assistant-feedback のほかの issue

posit-dev/assistant-feedback の issue をすべて見る

似ている issue

Backend & API Design の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。