-
Notifications
You must be signed in to change notification settings - Fork 285
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: ensure fd monitor file is closed at end of the script run
When running gptscript with providers and --events-stream-to flag, the file passed to --events-stream-to would be closed after the provider was setup. This is an error because the file should remain open for the duration of the script run. This change will ensure that the file is only closed when the script is complete. Additionally, this change introduces 0644 permissions when creating a file passed to --events-stream-to. Signed-off-by: Donnie Adams <[email protected]>
- Loading branch information
Showing
1 changed file
with
23 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters