[bot] OpenAI Decisions API (`client.decisions.create()`) not instrumented
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 45/100
- issue の種類
- 機能追加
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- nodejs, typescript
調査の方向性
Start with js/src/auto-instrumentations/configs/openai.ts, which shows how the existing Responses and Embeddings resources are instrumented, then check js/src/wrappers/oai.ts for the manual proxy. Add a Decisions entry and a plugin channel under js/src/instrumentation/plugins/, and raise the openai devDependency in js/package.json to at least 7.30.0. Done means client.decisions.create() emits a span in a recorded test.
索引モデルが issue の本文から書いたものです。
説明
Summary
OpenAI's Node SDK added a standalone Decisions API (client.decisions.create(), endpoint POST /v1/decisions) in [email protected] (changelog: "add standalone Decisions support"). It runs the dedicated gpt-6-luna model (added in [email protected], "add GPT-6 Sol and Luna model identifiers") to turn text/image input into typed, structured answers — a generative model-execution call distinct from Chat Completions/Responses, not a CRUD or admin endpoint. Development is active and ongoing: the latest openai release (7.33.0, 2026-10-14) adds "organization Decisions usage reporting" and documentation clarifications for decision creation. This repo has zero instrumentation for this surface — no config entry, no channel, no wrapper — so calls to client.decisions.create() produce no Braintrust spans at all.
What instrumentation is missing
client.decisions.create({ model: "gpt-6-luna", input, decision })—POST /v1/decisions. Accepts text/image input plus a typed decision schema (choices/score/boolean-style questions) and returns a structured, typed answer instead of free-form prose.
No coverage in any instrumentation layer:
js/src/auto-instrumentations/configs/openai.ts— instrumentsImages.*,Audio.*(speech/transcriptions/translations),Chat.Completions.create/parse/stream,Embeddings.create,Moderations.create, andResponses.create/stream/parse/compact. No entry for aDecisionsresource.js/src/instrumentation/plugins/— noopenai-decisions-style channel or plugin file.js/src/wrappers/oai.ts— manual wrapper proxies the resources above only; nodecisionsproperty handling.
A case-insensitive repo-wide search for decisions under js/src/ returns no genuine matches (the only two hits are an unrelated test description string and an unrelated code comment, neither referencing this API).
Braintrust docs status
not_found — https://www.braintrust.dev/docs/integrations/ai-providers/openai lists the OpenAI methods Braintrust auto-traces for TypeScript (chat completions, embeddings, moderation, Responses API, batch API, Agents API, images, audio) and does not mention a Decisions API, decisions.create, or gpt-6-luna anywhere.
Upstream references
openainpm changelog (raw): https://raw.githubusercontent.com/openai/openai-node/master/CHANGELOG.md7.22.0: "add GPT-6 Sol and Luna model identifiers"7.30.0: "add standalone Decisions support"7.33.0(latest, 2026-10-14): "add organization Decisions usage reporting"; chores include "clarify decision creation documentation" and "document decision choice constraints"
- OpenAI API changelog: https://developers.openai.com/api/docs/changelog —
v1/decisionsendpoint, modelgpt-6-luna, status "beta," guide at https://developers.openai.com/api/docs/guides/decisions
Local files inspected
js/src/auto-instrumentations/configs/openai.ts— full file read; noDecisionsentryjs/src/wrappers/oai.ts— nodecisionsproxy handling- Repo-wide case-insensitive grep for
decisionsunderjs/src/— no relevant matches js/package.json—openaidevDependency pinned at6.25.0(below the>=7.30.0floor needed for this surface), confirming it is a genuinely new capability relative to this repo's current test/record setup rather than something already exercised
- 主要言語
- TypeScript
- スター
- 29
- フォーク
- 18
- 平均マージ
- 1日 15時間
- マージ済み PR(30日)
- 69
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
braintrustdata/braintrust-sdk-javascript のほかの issue
-
High TypeScript checking cost from generated Zod 3 schemas対応中かも @lforst が 2 日前に担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 22/100
braintrustdata/braintrust-sdk-javascript#2624 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
[bot] Instrument Luma AI (17,324 weekly downloads)対応中かも @karthiksenv が 2 日前に担当しました。 オープンtypescript
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
braintrustdata/braintrust-sdk-javascript#2578 ·
メンテナーはふだん 1 日以内に返信
-
[bot] Instrument Letta Agent SDK (87,205 weekly downloads)対応中かも @karthiksenv が 5 日前に担当しました。 オープンtypescript
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
braintrustdata/braintrust-sdk-javascript#2577 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
braintrustdata/braintrust-sdk-javascript#2527 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 65/100
braintrustdata/braintrust-sdk-javascript#2526 ·
メンテナーはふだん 1 日以内に返信
braintrustdata/braintrust-sdk-javascript の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
auth: agent-bearer --manager-call is told to use the MCP instance argument on an ambiguous managerオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
メンテナーはふだん 1 日以内に返信
-
bug module: playback
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
chthollyphile/folia-major#739 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
agilepathway/label-checker#773 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信