🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Production and Cost: all 10 questions

Quiz: Production and Cost · Question 5 of 10

stopreason is "refusal". What should the app do?

stop_reason is "refusal". What should the app do?

  1. A.Show an empty message
  2. B.Retry forever
  3. C.Show a polite explanation or alternative instead of a blank reply
  4. D.Crash
Answer & explanation

Correct answer: Show a polite explanation or alternative instead of a blank reply

Handle every stop reason deliberately.

Can you get the rest right without peeking?

Take the timed Quiz: Production and Cost quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →