Chat queries can be entered when the config is invalid, and result in generic errors #3676
Open
3 tasks done
Labels
area:chat
Relates to chat interface
kind:bug
Indicates an unexpected problem or unintended behavior
"needs-triage"
Before submitting your bug report
Relevant environment info
Description
After I first installed Continue, the chat prompt could be used. Entering a query resulted in the following error message being shown:
The generic error is potentially confusing. It's also confusing that you can enter a query in the first place - it looks like Continue can be used, when in in fact it can't.
Usually, it's better to prevent an error from happening, if possible. Continue appears to know that the the config isn't valid - when I open the model dropdown it lists a single item: “Claude 3.5 Sonnet (Missing API Key)”. If it could disable the chat prompt in this situation, and show a message explaining the situation, that would avoid users from hitting errors.
To reproduce
Log output
No response
The text was updated successfully, but these errors were encountered: