Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

eve provider: `capture` key crashes eve ≥0.62 at boot, and `eve.turn` spans have no input/output

Cerrado
#2,551 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
72/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
typescript

Línea de trabajo

Start in js/src/instrumentation/plugins/eve-provider.ts at createEveInstrumentationProvider and inspect the handleTurnStarted and handleTurnTerminal paths. Reproduce with the listed eve init/add/build flow, then verify the provider boots without the rejected key and that eve.turn records the user message as input and final assistant reply as output.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Versions: braintrust 3.35.0 (latest), eve 0.69.0, Node 24, deployed on Vercel. Installed via eve add instrumentation/braintrust.

1. eve refuses to start with the provider

createEveInstrumentationProvider (js/src/instrumentation/plugins/eve-provider.ts) returns capture: "content" alongside tracePolicy, kept "for backwards compatibility". eve ≥0.62 rejects the key by presence (Object.hasOwn(provider, "capture")), so every request fails at startup:

Error: The instrumentation provider "instrumentation/braintrust" no longer supports `capture`. Use `tracePolicy` to configure content capture.
    at registerInstrumentationProvider (…/eve.mjs)
Node.js process exited with exit status: 1.

Repro: npx eve@latest init x && cd x && eve add instrumentation/braintrust && eve build, then send any request to the deployment.

Removing the key (const { capture, ...provider } = braintrustEveInstrumentation(...)) makes it boot.

2. eve.turn spans carry no input or output

With the key removed, eve.step spans log the full prompt and the model response, but eve.turn spans have input and output null. handleTurnStarted / handleTurnTerminal record lineage and metadata only. The older braintrustEveHook logged the user message and final reply on the turn span, and Braintrust features that read the turn row (Topics, facets) now see empty rows.

Expected
  • No capture key when the host eve version supports tracePolicy (or drop it, since eve <0.62 is the only consumer).
  • eve.turn input = the turn's user message, output = the final assistant reply, as the hook integration did.
Lenguaje dominante
TypeScript
Estrellas
29
Forks
16
Merge medio
1 d 19 h
PR fusionados (30 d)
69

Preparar el entorno

  • Incluye un Dockerfile o un archivo de Docker Compose
  • Sin plantilla de pull request
  • Sin guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de braintrustdata/braintrust-sdk-javascript

Todos los issues de braintrustdata/braintrust-sdk-javascript

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.