Skip to content

Conversation

@gustavocidornelas
Copy link
Contributor

…ndler

Pull Request

Summary

The synchronous version of the Openlayer callback handler had an issue where the root step was not defined. This PR fixes the issue and follows the same pattern as the one implemented in the async version of the callback handler.

Changes

  • Get the root step from the trace, to ensure it is not undefined.

Context

OPEN-8437: Undefined root_step in LangChain callback handler

Testing

  • Manual testing

@whoseoyster whoseoyster merged commit 4aad122 into main Dec 12, 2025
5 checks passed
@whoseoyster whoseoyster deleted the cid/callback-handler-root-step branch December 12, 2025 16:42
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