forked from guidance-ai/guidance
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed unintentional side effect on the stop argument from gen
function. Calling append on `stop` can cause issues if the same list is used in multiple situations in the same parent context. Using a non-destructive method to update the stop list also makes invoking gen over rpyc possible.
- Loading branch information
1 parent
55d8e6f
commit eea14f5
Showing
2 changed files
with
16 additions
and
2 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
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