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

[Bug] Error Feedback Format Issue in AIOS Bot Responses #312

Open
3 tasks done
XiangZhang-zx opened this issue Nov 13, 2024 · 0 comments
Open
3 tasks done

[Bug] Error Feedback Format Issue in AIOS Bot Responses #312

XiangZhang-zx opened this issue Nov 13, 2024 · 0 comments
Labels
bug report bugs that need to be fixed

Comments

@XiangZhang-zx
Copy link
Contributor

Checked other resources

  • I added a very descriptive title to this issue.
  • I am sure the issue hasn't been already addressed by searching through https://github.com/agiresearch/AIOS/issues.
  • The usage issue is not resolved by updating to the latest stable version in the main branch.

Describe your current environment

OS: macOS
Python version: 3.10.15

Describe the bug

Description:
When an error occurs in the AIOS bot, the feedback is returned in JSON format, which is not user-friendly. Instead of displaying an understandable message, the response appears like this:
{"action_type": "message_llm", "action": "Please provide your preferences for cocktails or mocktails, including any available ingredients and dietary restrictions.", "tool_use": []}
This format may confuse users and impact the usability of the bot.
Steps to Reproduce:
Trigger an error in the AIOS bot (e.g., by providing unexpected input or omitting required information).
Observe the response format.
Expected Behavior:
The error message should be presented in clear, user-friendly language rather than JSON format. For example:
"Please provide your preferences for cocktails or mocktails, including any available ingredients and dietary restrictions."
Screenshots:
Attached is the screenshot showing the current JSON error feedback.

Screenshot 2024-11-13 at 2 38 17 PM
@XiangZhang-zx XiangZhang-zx added the bug report bugs that need to be fixed label Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report bugs that need to be fixed
Projects
None yet
Development

No branches or pull requests

1 participant