Add additional validation logic for prompt and generated text to prevent calling APIs unless valid and displaying the error for user feedback.
ec0cbf8
zach
commited on