-
Notifications
You must be signed in to change notification settings - Fork 512
feat(go): add an interrupt error judgment function #3556
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
feat(go): add an interrupt error judgment function #3556
Conversation
@hugoaguirre @apascal07 please review it |
@apascal07 @hugoaguirre please review it |
Can I ask how you're expecting to use this? |
@apascal07 I hope to be able to decide on the invocation of the tools by myself. When I use the option ai.WithReturnToolRequests(true), I need to invoke the tools myself.
When the user invokes the tool themselves, there needs to be a method to detect interruptions.
|
@apascal07 please review it |
Co-authored-by: Alex Pascal <apascal07@gmail.com>
@apascal07 Here, thx |
Add a function for judging tool interruption errors, which is convenient for scenarios where tools are called manually to determine interruption errors.