Skip to content

Commit d0fa566

Browse files
authored
fix(langchain): maintain async context in tool executions (#1380)
1 parent c8550a7 commit d0fa566

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

langfuse/langchain/CallbackHandler.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ def __init__(
7878
update_trace: Whether to update the Langfuse trace with the chains input / output / metadata / name. Defaults to False.
7979
"""
8080
self.client = get_client(public_key=public_key)
81+
self.run_inline = True
8182

8283
self.runs: Dict[
8384
UUID,

0 commit comments

Comments
 (0)