Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(langchain): handle case when parent span wasn't traced (#3656)
It's possible for the parent span to not have been traced (or have been GCd) so a KeyError would be raised when trying to fetch the span for the parent run_id. Now we defensively `.get()` the parent span instead of subscripting it.
- Loading branch information