Skip to content

feat(daemon): emit turn spans via weave SDK Turn#75

Draft
rgao-coreweave wants to merge 1 commit into
migrate-sdk/sessionfrom
migrate-sdk/turn
Draft

feat(daemon): emit turn spans via weave SDK Turn#75
rgao-coreweave wants to merge 1 commit into
migrate-sdk/sessionfrom
migrate-sdk/turn

Conversation

@rgao-coreweave

@rgao-coreweave rgao-coreweave commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Summary

Migrate the per-turn span from the startTurnSpan genaiSpans helper to the SDK Turn: session.weaveSession.startTurn(...) + turn.setAttributes(...). Replaces currentTurnSpan: Span with currentTurn: weave.Turn across the turn handlers. Agent name flows from the configurable this.agentName (settings agent_name / WEAVE_AGENT_NAME).

Test plan

  • npm run build
  • npm test

rgao-coreweave commented Jun 8, 2026

Copy link
Copy Markdown
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant