Skip to content

Commit 29fb188

Browse files
fix(py): Pass 'project_name' to _get_parent_run method (langchain-ai#1927)
Using `trace` context manager with "parent" argument (dotted_order) in a project that is not the default is not working due to this little missing parameter. Co-authored-by: Jacob Lee <jacoblee93@gmail.com>
1 parent 0f63093 commit 29fb188

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

python/langsmith/run_helpers.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1002,6 +1002,7 @@ def _setup(self) -> run_trees.RunTree:
10021002
"parent": self.parent,
10031003
"run_tree": self.run_tree,
10041004
"client": client_,
1005+
"project_name": self.project_name,
10051006
}
10061007
)
10071008

0 commit comments

Comments
 (0)