dimagi / open-chat-studio

A web based platform for building Chatbots backed by Large Language Models
BSD 3-Clause "New" or "Revised" License
15 stars 7 forks source link

Notify users when errors happen #219

Open bderenzi opened 9 months ago

bderenzi commented 9 months ago

The following transcript stopped responding:

https://chatbots.dimagi.com/a/dimagi/experiments/e/f395d3b0-f63f-4b11-827b-dbc990e11735/s/740fee5c-1475-4b02-b0ff-a938fb833987/view/

Based on the length, I assume we've exceeded the context window. This is not urgent in that we reset the chat and all is well. However, I would have expected Sentry to catch an error with the context window length or (better) to alert the user in some way.

bderenzi commented 9 months ago

I just noticed #206 . @snopoke this might be related?

snopoke commented 9 months ago

I don't see any error handling in our code so we can use this ticket to track that.