Skip to content

Conversation

@rlancemartin
Copy link
Contributor

Fixes LangSmith UUID v7 deprecation warning by ensuring subagents inherit the parent agent's runtime configuration (including thread_id and tracing context) instead of generating new trace IDs with uuid.uuid4().

Changes:

  • Pass runtime.config to both subagent.invoke() and subagent.ainvoke()
  • Ensures proper config inheritance for LangSmith tracing
  • Prevents "LangSmith now uses UUID v7" deprecation warning

Fixes LangSmith UUID v7 deprecation warning by ensuring subagents inherit
the parent agent's runtime configuration (including thread_id and tracing
context) instead of generating new trace IDs with uuid.uuid4().

Changes:
- Pass runtime.config to both subagent.invoke() and subagent.ainvoke()
- Ensures proper config inheritance for LangSmith tracing
- Prevents "LangSmith now uses UUID v7" deprecation warning
@sydney-runkle
Copy link
Contributor

I think this is probably not the right fix, seems like a deeper issue

@rlancemartin rlancemartin marked this pull request as draft November 18, 2025 23:11
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.

3 participants