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

Fix thread state 500 error (when Retrieval tool is used) #320

Merged
merged 1 commit into from
Apr 25, 2024

Conversation

bakar-io
Copy link
Contributor

Without passing assistant_id (in configurable) to aget_state, aupdate_state and aget_state_history, the following exception is raised:

ValueError: Both assistant_id and thread_id must be provided if Retrieval tool is used.

This happens when Retrieval tool is being used.

@mkorpela mkorpela merged commit e1ebc7b into langchain-ai:main Apr 25, 2024
6 checks passed
@bakar-io bakar-io deleted the fix-missing-assistant-id branch April 25, 2024 05:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants