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

ChatBot generates an exception when Chatbot.converse is invoked #3291

Open
1 of 8 tasks
dcpetty opened this issue Dec 12, 2024 · 2 comments
Open
1 of 8 tasks

ChatBot generates an exception when Chatbot.converse is invoked #3291

dcpetty opened this issue Dec 12, 2024 · 2 comments

Comments

@dcpetty
Copy link

dcpetty commented Dec 12, 2024

Describe the bug

When using the Story GPT Hour of Code activity (https://aif.to/2024-hoc-storygpt) a student generated an exception when invoking that function whose message was (something like): 'ChatBot failed to return response: missing field @ line 24 column 5.' Only one out of 18 students exhibited this behavior. I do not know what the question field was that they submitted.

Affects

  • Designer
  • Blocks editor
  • Projects Explorer
  • Companion
  • Compiled apps
  • Buildserver
  • Debugging
  • Other... (please describe)

Running the app in AI Companion

Expected behavior

ChatBot returns a response. No exception is generated.

Steps to reproduce

When it was happening, all they needed to do was invoke ChatBot.converse. (This is after the fact, so it will probably be difficult to reproduce.)

@ewpatton
Copy link
Member

@dcpetty Do we know which backend they were using? IIRC, Gemini sometimes doesn't return a response when it might respond with objectionable content. @jisqyv might recall better.

@dcpetty
Copy link
Author

dcpetty commented Dec 13, 2024

Definitely Gemini. I do not know what the prompt was.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants