Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

[bot] Cerebras Cloud TypeScript SDK (`@cerebras/cerebras_cloud_sdk`) not instrumented — no tracing for fast-inference chat completions or embeddings (116,524 weekly downloads)

Offen
#2,101 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
68/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
node.js, typescript
Bereich
observability

Rechercherichtung

Lies zunächst die vorhandenen Konfigurationen in js/src/auto-instrumentations/configs/, insbesondere openai.ts, groq.ts und mistral.ts, und untersuche anschließend js/src/wrappers/ und js/src/instrumentation/plugins/ auf die entsprechenden Muster. Ergänze die Abdeckung für Cerebras chat completions, streaming, completions und embeddings, mit einer Auto-Instrumentation-Konfiguration und einem E2E-Szenario in e2e/scenarios/; als abgeschlossen gilt die Arbeit, wenn direkte Aufrufe von @cerebras/cerebras_cloud_sdk Braintrust-Spans erzeugen.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

Summary

Cerebras publishes an official TypeScript SDK for their ultra-fast LLM inference API: @cerebras/cerebras_cloud_sdk on npm (v1.64.1, actively maintained). It provides execution APIs for chat completions, completions, embeddings, and streaming responses. The SDK has its own HTTP client based on node-fetch — it does not depend on the openai npm package. This repository has zero instrumentation for any Cerebras SDK surface — no wrapper, no channels, no plugin, no auto-instrumentation config. Users who call @cerebras/cerebras_cloud_sdk directly get no Braintrust spans.

What instrumentation is missing

The @cerebras/cerebras_cloud_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 use, structured outputs, and reasoning
client.chat.completions.create({ ..., stream: true }) Streaming chat completions
client.completions.create({ model, prompt }) Raw text completions
client.embeddings.create(...) Text embeddings

Cerebras is notable for extremely low-latency LLM inference (their wafer-scale hardware delivers tokens significantly faster than GPU-based providers), making observability especially valuable for latency-sensitive production workloads.

No coverage in any instrumentation layer:

  • No wrapper function (e.g. wrapCerebras())
  • No diagnostics channels for Cerebras 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 cerebras (case-insensitive) across js/src/ returns zero matches

Indirect coverage is insufficient:

Braintrust's Cerebras integration page documents a gateway/OpenAI SDK approach only — using the openai npm client pointed at the Braintrust gateway to route to Cerebras models. Users who call @cerebras/cerebras_cloud_sdk directly get no spans at all. The Cerebras SDK has its own separate HTTP layer (runtime deps: node-fetch, abort-controller, agentkeepalive, form-data-encoder, formdata-node) and is not patched by the existing openai auto-instrumentation.

Braintrust docs status

not_found for direct SDK instrumentation. The Braintrust Cerebras integration page documents a gateway/OpenAI SDK approach only and does not reference @cerebras/cerebras_cloud_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 Cerebras config present
  • js/src/wrappers/ — no cerebras.ts wrapper file
  • js/src/instrumentation/plugins/ — no Cerebras channels or plugin
  • e2e/scenarios/ — no Cerebras test scenarios
  • Full repo grep for cerebras (case-insensitive) in js/src/ — zero matches
  • Cerebras SDK package.json (GitHub) — confirmed runtime deps are node-fetch/agentkeepalive/form-data-encoder; no openai dependency

Weekly downloads: 116,524 (as of 2026-10-14; window 2026-10-06 to 2026-10-12; source https://api.npmjs.org/downloads/point/last-week/@cerebras/cerebras_cloud_sdk)

Vorherrschende Sprache
TypeScript
Sterne
29
Forks
21
Ø Merge
1 T. 13 Std.
Gemergte PRs (30 T.)
67

Entwicklungsumgebung

  • Enthält ein Dockerfile oder eine Docker-Compose-Datei
  • Keine Pull-Request-Vorlage
  • Kein Beitragsleitfaden

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus braintrustdata/braintrust-sdk-javascript

Alle Issues in braintrustdata/braintrust-sdk-javascript

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.