Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: more gracefully handle run not found in langchain python #1927

Open
marcklingen opened this issue Apr 30, 2024 · 0 comments
Open

bug: more gracefully handle run not found in langchain python #1927

marcklingen opened this issue Apr 30, 2024 · 0 comments
Assignees

Comments

@marcklingen
Copy link
Member

Describe the bug

Currently the run_id needs to be available while the callback handler is executed. This works fine when the callbackhandler is passed to invoke/call/stream/... methods.

However, if the callback handler is passed in the constructor of a chain/agent this does not work consistently and leads to Parent run not found / Run not found errors.

To reproduce

Bug reports

Additional information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants