Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[bot] Fireworks AI TypeScript SDK (`@fireworksai/sdk`) not instrumented — no tracing for chat completions, embeddings, or image generation (71 weekly downloads)

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

メンテナーはふだん 1 日以内に返信

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

評価

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

調査の方向性

js/src/auto-instrumentations/configs/ の既存の設定、js/src/wrappers/ のラッパー、js/src/instrumentation/plugins/ のプラグイン、e2e/scenarios/ から始めます。現在のインテグレーションが、issue に記載された @fireworksai/sdk のメソッドをどのように処理しているかを確認し、その後、カバレッジと e2e シナリオを追加します。直接の chat、completion、embedding、image、audio、streaming 呼び出しで Braintrust spans が生成されれば完了です。

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

説明

Summary

Fireworks AI publishes an official TypeScript SDK: @fireworksai/sdk on npm (currently in beta, requires zod peer dependency). It provides execution APIs for chat completions, text completions, embeddings, image generation, and audio transcription via Fireworks AI's own REST API client, with HTTP requests powered by fetch. This repository has zero instrumentation for any @fireworksai/sdk surface — no wrapper, no channels, no plugin, no auto-instrumentation config. Users who call @fireworksai/sdk directly get no Braintrust spans.

What instrumentation is missing

The @fireworksai/sdk npm package exposes these execution surfaces, none of which are instrumented:

SDK Method Description
client.chat.completions.create({ model, messages }) Chat completions with tool calling and structured outputs
client.chat.completions.create({ ..., stream: true }) Streaming chat completions
client.completions.create({ model, prompt }) Text completions
client.embeddings.create({ model, input }) Text embeddings (OpenAI-compatible format)
client.images.generate({ model, prompt }) Text-to-image generation
client.audio.transcriptions.create(...) Audio transcription

The SDK uses its own fetch-based HTTP client (with Zod for request/response validation) and does not use the openai npm package internally. Existing openai auto-instrumentation does not cover calls made through @fireworksai/sdk.

No coverage in any instrumentation layer:

  • No wrapper function (e.g. wrapFireworks())
  • No diagnostics channels for Fireworks AI methods
  • No plugin handler in js/src/instrumentation/plugins/
  • No auto-instrumentation config in js/src/auto-instrumentations/configs/
  • No e2e test scenarios
  • Grep for fireworks (case-insensitive) across js/src/ returns zero instrumentation matches

Indirect coverage is insufficient:

Braintrust's Fireworks AI integration page documents a gateway/OpenAI SDK approach — using the openai npm client pointed at the Braintrust gateway with Fireworks model identifiers. Users who call @fireworksai/sdk directly — which ships Fireworks' own type-safe TypeScript API client — get no spans at all under that approach.

Braintrust docs status

not_found for direct SDK instrumentation. The Braintrust Fireworks integration page documents a gateway/OpenAI SDK approach only and does not reference @fireworksai/sdk.

Upstream references

Local files inspected

  • js/src/auto-instrumentations/configs/ — full config list: anthropic.ts, openai.ts, ai-sdk.ts, groq.ts, mistral.ts, cohere.ts, huggingface.ts, google-genai.ts, google-adk.ts, genkit.ts, openai-agents.ts, openrouter.ts, openrouter-agent.ts, claude-agent-sdk.ts, cursor-sdk.ts, github-copilot.ts, openai-codex.ts, flue.ts — no Fireworks AI config present
  • js/src/wrappers/ — no fireworks.ts wrapper file
  • js/src/instrumentation/plugins/ — no Fireworks AI channels or plugin
  • e2e/scenarios/ — no Fireworks AI test scenarios
  • Full repo grep for fireworks (case-insensitive) in js/src/ — zero instrumentation matches
  • @fireworksai/sdk install notes — confirmed fetch-based HTTP client with zod peer dependency; no openai runtime dependency
主要言語
TypeScript
スター
28
フォーク
15
平均マージ
1日 20時間
マージ済み PR(30日)
70

環境構築

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

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

braintrustdata/braintrust-sdk-javascript のほかの issue

braintrustdata/braintrust-sdk-javascript の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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