InjectedState to tools expect the optional attributes of the state to be invoked. #5142
Unanswered
DevinduSamarasinghe
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi I am currently facing the above mentioned issue where I have a tool that, if no intervention is needed, can be invoked.
And my interruptor is as follows,
Now the problem is that I am using a tool with injectedState instead of arguments because it takes the entirety of the context.
Now the issue is that, in both the options of replace and append, it worked perfectly as intended. But in the "keep" option, validation errors are coming from the tool, saying two attributes are missing. But those attributes are already Optional.
I don't want to delve into another update to provide updates as such. and the tool doesn't necessarily need those attributes as well if there is no update to be made via an interrupt. Any solutions to this?
Beta Was this translation helpful? Give feedback.
All reactions