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

fix: stop error when tool has no instructions #493

Merged
merged 1 commit into from
Sep 11, 2024

Conversation

thedadams
Copy link
Contributor

Previously, if a tool had no instructions, then the SDK would report an error because there would have been no output. That has been changed in the SDK.

Now, in these changes, if a blank message is received when running a tool, a special "no response received" message will be displayed to the user.

Previously, if a tool had no instructions, then the SDK would report an
error because there would have been no output. That has been changed in
the SDK.

Now, in these changes, if a blank message is received when running a
tool, a special "no response received" message will be displayed to the
user.

Signed-off-by: Donnie Adams <[email protected]>
@thedadams thedadams merged commit ceefbf8 into gptscript-ai:main Sep 11, 2024
1 check passed
@thedadams thedadams deleted the gh-482 branch September 11, 2024 14:37
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.

3 participants