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

enhance: Add proper aborting of runs #94

Merged
merged 1 commit into from
Feb 25, 2025

Conversation

thedadams
Copy link
Collaborator

@thedadams thedadams commented Feb 25, 2025

Aborting a run is different from "closing" it. Closing a run will result in an error. Aborting a run will cause it to stop at the next available event and not return any error. Instead, the run will have its text appended with "ABORTED BY USER" and all the chat state will be preserved.

Aborting a run is different from "closing" it. Closing a run will result
in an error. Aborting a run will cause it to stop at the the next
available event and not return any error. Instead, the run will have its
text appended with "ABORTED BY USER" and all the chat state will be
preserved.

Signed-off-by: Donnie Adams <[email protected]>
@thedadams thedadams merged commit ff48fd2 into gptscript-ai:main Feb 25, 2025
2 checks passed
@thedadams thedadams deleted the proper-abort-runs branch February 25, 2025 11:16
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.

1 participant