I think the fix here is to do a little more UX thinking and detect the incomplete setup conditions - and gracefully display it to a User - with a nice message like “It seems that you are yet to add your Open AI key - find it < here > and add it < here >. Until you do that this service will not work.” Possibly consider designing your template so that it is demonstrable without an Open AI key and encourages the Users to complete the setup.

Users expect things to “just work” and not appear broken, missing setup isn’t “broken”.

Good luck :slight_smile:

2 Likes