Probe and handle forced tool_choice for Bedrock Claude models
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 55/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- typescript
調査の方向性
Start by reading src/llm/pi-runner.ts around lines 1969–1970 and the #46 issue to understand the existing tool choice rule. First run a free probe against Bedrock Converse for the listed Claude models to check whether forced toolChoice is rejected. If confirmed, extend the rule to bedrock-converse-stream and verify the config flag is honored.
索引モデルが issue の本文から書いたものです。
説明
Context
Reported during the #44 review as a follow-up outside the #46 fix scope, per the operator decision.
Evidence
At src/llm/pi-runner.ts:1969-1970, mapProviderToolChoice returns {type:"tool"} for bedrock-converse-stream regardless of llm.forceSubmitToolChoice. The documented escape hatch therefore does not apply to Bedrock. The plan-86 thinking-off branch covers only anthropic-messages. Pi 1.5.2 amazon-bedrock.json lists Opus 5.5, Fable 5.2 and Sonnet 5.5 with thinkingLevelMap.off null.
Expected / actual
Expected: force submit only where the serving API accepts it, and honor the config flag. Actual: forced submit is always on for Bedrock Converse.
Unknown and severity
It is unverified whether Bedrock Converse rejects forced toolChoice for these models. Direct Anthropic rejects it with HTTP 400 (see #46). Severity is high for Bedrock users if its API rejects the choice; otherwise none.
Next step
Run a free probe on Bedrock. If confirmed, extend the #46 rule to bedrock-converse-stream.
- 主要言語
- TypeScript
- スター
- 8
- フォーク
- 1
- 平均マージ
- 5分
- マージ済み PR(30日)
- 2
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
0xPolygon/codegenie のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
0xPolygon/codegenie の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
AloisSeckar/elrh-cosca#36 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
cursor/community-plugins#572 ·
メンテナーはふだん 1 日以内に返信
-
[Plugin] calendarオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
MUKE-coder/grit#228 ·
-
bug status:needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
dongdongbh/Mindwtr#1587 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
nuxt/icon#585 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信