Add fall back text
Opened this issue · 0 comments
clean99 commented
Now when the prompt is failed, or internet failed, it won't feedback anything. To improve this, add fallback mechanism to our system:
- error handling: add error handling in prompt(other place that need network), when error happen, try to get as much information as possible, and report it.
- fallback translator: now we are using gpt to translate, if network failed, we can have a fallback translator(try to find the library) or just hard code some failback text in multi language, to let user know that what is wrong now.