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

Improve error message if user isn't passing a Runnable to add_routes #577

Merged
merged 1 commit into from Mar 31, 2024

Conversation

eyurtsev
Copy link
Collaborator

@eyurtsev eyurtsev commented Mar 30, 2024

After this PR a better error message will be surfaced to add_routes if a user passes something that's not a runnable.

This currently occurs a lot when using the langchain cli as the lanchain cli creates an empty app with a palceholder value of NotImplemented for the runnable.

@cla-bot cla-bot bot added the cla-signed label Mar 30, 2024
@eyurtsev eyurtsev changed the title Add instance check to add_routes Better error message if user isn't passing a Runnable to add_routes Mar 30, 2024
@eyurtsev eyurtsev changed the title Better error message if user isn't passing a Runnable to add_routes Improve error message if user isn't passing a Runnable to add_routes Mar 30, 2024
@eyurtsev eyurtsev merged commit 00e637a into main Mar 31, 2024
11 checks passed
@eyurtsev eyurtsev deleted the eugene/check_instance branch March 31, 2024 01:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant