This repository has been archived by the owner on Jun 9, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 564
Conversation
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
ntindle
reviewed
Apr 30, 2023
ntindle
reviewed
Apr 30, 2023
It looks like there are some typing errors when AutoGPT doesn't pass the right datatype. Since python can handle type conversion itself, make the args type agnostic
|
johnseth97
suggested changes
Apr 30, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See comments
…istakes; make arguments more tolerant of GPT madness.
johnseth97
approved these changes
May 1, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Test output for:
Random Number:
NEXT ACTION: COMMAND = Random Number ARGUMENTS = {'min': '0', 'max': '100', 'count': '10'}
Enter 'y' to authorise command, 'y -N' to run N continuous commands, 's' to run self-feedback commands'n' to exit program, or enter feedback for ...
Asking user via keyboard...
Input:y
-=-=-=-=-=-=-= COMMAND AUTHORISED BY USER -=-=-=-=-=-=-=
SYSTEM: Command Random Number returned: [4, 77, 33, 84, 20, 38, 24, 61, 12, 14]
UUID
NEXT ACTION: COMMAND = make_uuids ARGUMENTS = {'count': '5'}
Enter 'y' to authorise command, 'y -N' to run N continuous commands, 's' to run self-feedback commands'n' to exit program, or enter feedback for ...
Asking user via keyboard...
Input:y
-=-=-=-=-=-=-= COMMAND AUTHORISED BY USER -=-=-=-=-=-=-=
SYSTEM: Command make_uuids returned: ["4116864c-7fe6-4d9d-82df-14563c047994", "7e989c21-baf0-43b1-962f-cabc5fb9ab3d", "21dbef81-d657-4546-8d89-11ed6272902d", "babe2044-0285-4769-8628-e662dab4f98b", "54dac78b-f1f4-44b5-ba4e-6588529fd200"]
Generate String
NEXT ACTION: COMMAND = generate_string ARGUMENTS = {'length': '10', 'count': '5'}
Enter 'y' to authorise command, 'y -N' to run N continuous commands, 's' to run self-feedback commands'n' to exit program, or enter feedback for ...
Asking user via keyboard...
Input:y
-=-=-=-=-=-=-= COMMAND AUTHORISED BY USER -=-=-=-=-=-=-=
SYSTEM: Command generate_string returned: ["pxUxqyGJOJ", "ciUQskmOqU", "xBJKlTPmXo", "KYqUURUHFZ", "XUYvcvBdhu"]
Generate Password:
NEXT ACTION: COMMAND = generate_password ARGUMENTS = {'length': '12', 'count': '1'}
Enter 'y' to authorise command, 'y -N' to run N continuous commands, 's' to run self-feedback commands'n' to exit program, or enter feedback for ...
Asking user via keyboard...
Input:y
-=-=-=-=-=-=-= COMMAND AUTHORISED BY USER -=-=-=-=-=-=-=
SYSTEM: Command generate_password returned: ["So7hmit_@lpl"]
Generate Placeholder
NEXT ACTION: COMMAND = generate_placeholder_text ARGUMENTS = {'sentences': '5'}
Enter 'y' to authorise command, 'y -N' to run N continuous commands, 's' to run self-feedback commands'n' to exit program, or enter feedback for ...
Asking user via keyboard...
Input:y
-=-=-=-=-=-=-= COMMAND AUTHORISED BY USER -=-=-=-=-=-=-=
SYSTEM: Command generate_placeholder_text returned: ["Mollit aliquip consequat officia.", "Nostrud exercitation anim sint dolor, reprehenderit enim cillum sed proident ut velit.", "Laborum fugiat veniam est quis.", "Aute ullamco reprehenderit sit mollit amet.", "Ea non officia ut aliqua aliquip exercitation nisi, lorem incididunt ex ipsum."]
Success!
1 task
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I added a plugin that provides the following utilities