-
Notifications
You must be signed in to change notification settings - Fork 2
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
error #1
Comments
The code run without error on my side, i don't know where the error is coming from yet (could be a langgraph update) but I have a quick fix for it (following the discussion here), you should initialize any state variable when calling the app, update print(Fore.GREEN + "Starting workflow..." + Style.RESET_ALL)
for output in app.stream({"trials": 0}):
for key, value in output.items():
pprint(Fore.CYAN + f"Finished running: {key}:" + Style.RESET_ALL) It should work fine for now, I will try to understand where the issue is coming from. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
langgraph.errors.InvalidUpdateError: Must write to at least one of ['emails', 'viewed_emails_ids', 'ready_emails', 'email_sender', 'email_category', 'email_subject', 'generated_email', 'rag_questions', 'retrieved_infos', 'review', 'trials']
The text was updated successfully, but these errors were encountered: