Nariman Jelveh
b5dc3a797d
Continue on a fallback model when Claude declines a request
...
When Anthropic's safety system declines a request, Puter ends the stream
cleanly with stopReason "refusal" and no text or tool calls. The builder
read that as a finished turn: nothing was saved, no error was shown, and
every later message in the chat was declined (and charged) the same way.
- handleMessageStream throws a model_refusal error on that usage line and
runs none of the declined reply's tool calls.
- On a paid plan, the turn continues once on Claude Fable 5.2 from the
work already done (like a transient retry), with a note in the chat. The
switch is remembered per project in this browser for 30 days, so later
messages don't pay for another declined request first. Fable is a
fallback-only model: never in the picker or stored as a project's model.
- Otherwise (free plan, flag off, or the fallback declines too) a card
says the model's maker declined it and offers "Continue in a new chat":
a copy of the project with a fresh conversation. The original chat is
never modified.
- The card is saved as isError: 'refusal'. Every isError check is truthy,
so older versions show it as a plain error card and strip it before
sending. No other saved shape changes.
- Kill switch: FEATURE_FLAGS.refusalFallback.
2026-11-13 18:31:38 -07:00
..
2026-11-03 12:08:46 -07:00
2026-11-05 11:54:58 -07:00
2026-09-20 21:34:17 -07:00
2026-10-15 19:33:39 +07:00
2026-10-04 14:14:33 -07:00
2026-11-10 15:52:27 -07:00
2026-10-04 14:05:34 -07:00
2026-10-04 15:24:17 -07:00
2026-11-10 15:52:27 -07:00
2026-11-05 08:15:42 +07:00
2026-11-07 11:53:35 -07:00
2026-10-04 14:39:42 -07:00
2026-09-20 21:34:17 -07:00
2026-11-13 22:23:09 +07:00
2026-09-20 21:34:17 -07:00
2026-11-10 15:52:27 -07:00
2026-11-12 13:02:30 +07:00
2026-11-13 01:38:19 +07:00
2026-10-04 16:14:49 -07:00
2026-10-04 16:32:17 -07:00
2026-11-12 18:06:09 -07:00
2026-10-04 14:55:45 -07:00
2026-10-05 15:19:48 -07:00
2026-10-04 15:14:06 -07:00
2026-11-14 01:27:43 +07:00
2026-10-04 16:12:02 -07:00
2026-10-04 13:26:52 -07:00
2026-10-17 16:11:59 +07:00
2026-09-20 21:34:17 -07:00
2026-10-29 18:34:55 +07:00
2026-09-20 21:34:17 -07:00
2026-11-05 11:54:58 -07:00
2026-09-20 21:34:17 -07:00
2026-11-05 11:54:58 -07:00
2026-10-04 16:03:32 -07:00
2026-11-11 18:22:29 +07:00
2026-11-04 12:50:02 -07:00
2026-10-04 14:09:12 -07:00
2026-11-13 18:31:38 -07:00
2026-11-05 08:15:42 +07:00
2026-10-04 13:12:18 -07:00
2026-10-04 13:10:56 -07:00
2026-11-04 12:31:09 -07:00
2026-11-11 22:42:01 +07:00
2026-11-12 18:34:23 +07:00
2026-10-04 14:20:31 -07:00
2026-11-11 23:03:58 +07:00
2026-11-12 13:02:30 +07:00
2026-09-30 16:27:06 -07:00
2026-11-06 22:51:47 +07:00
2026-10-31 10:50:08 -07:00
2026-10-19 20:47:27 -07:00
2026-10-27 16:55:32 +07:00
2026-10-23 22:24:38 +07:00
2026-10-28 15:05:42 +07:00
2026-10-19 22:29:20 -07:00
2026-10-20 18:14:16 +07:00
2026-09-20 21:34:17 -07:00
2026-10-19 20:47:27 -07:00
2026-09-20 21:34:17 -07:00
2026-10-04 15:57:52 -07:00
2026-09-20 21:34:17 -07:00
2026-10-22 10:31:18 -07:00
2026-10-19 20:47:27 -07:00
2026-10-19 20:47:27 -07:00
2026-10-22 16:31:25 +07:00
2026-10-19 20:47:27 -07:00
2026-10-27 13:47:01 +07:00
2026-10-28 17:29:22 +07:00
2026-09-20 21:34:17 -07:00
2026-11-03 17:31:13 -07:00
2026-10-19 20:47:27 -07:00
2026-11-13 23:59:15 +07:00
2026-10-19 20:47:27 -07:00
2026-10-19 20:47:27 -07:00
2026-10-04 16:24:37 -07:00
2026-10-04 13:09:26 -07:00
2026-11-05 13:13:37 -07:00
2026-11-12 18:06:09 -07:00
2026-10-04 12:42:48 -07:00
2026-10-04 16:06:27 -07:00
2026-11-11 15:28:42 +07:00
2026-10-22 16:31:25 +07:00
2026-11-05 11:54:58 -07:00
2026-10-04 13:28:54 -07:00
2026-11-03 11:56:44 -07:00
2026-11-13 22:23:09 +07:00
2026-11-13 22:23:09 +07:00
2026-11-13 22:23:09 +07:00
2026-11-13 22:23:09 +07:00
2026-11-13 22:23:09 +07:00
2026-11-06 22:28:02 -07:00
2026-11-13 01:30:24 +07:00
2026-11-04 12:31:09 -07:00
2026-10-05 15:43:31 -07:00
2026-11-11 18:22:29 +07:00
2026-11-04 12:31:09 -07:00
2026-09-20 21:34:17 -07:00
2026-11-03 12:16:33 -07:00
2026-11-03 13:57:36 -07:00
2026-11-11 18:22:29 +07:00
2026-10-04 14:01:52 -07:00
2026-09-20 21:34:17 -07:00
2026-11-04 12:31:09 -07:00
2026-11-04 12:31:09 -07:00
2026-10-05 15:39:32 -07:00
2026-10-29 20:03:36 +07:00
2026-09-20 21:34:17 -07:00
2026-10-19 20:47:27 -07:00
2026-11-13 18:31:38 -07:00
2026-10-27 16:55:32 +07:00
2026-10-04 14:54:18 -07:00
2026-10-04 12:56:31 -07:00
2026-10-04 14:13:12 -07:00
2026-10-05 15:25:48 -07:00
2026-09-20 21:34:17 -07:00
2026-10-05 15:27:47 -07:00
2026-10-04 13:58:09 -07:00
2026-10-29 20:03:36 +07:00
2026-10-15 19:33:39 +07:00
2026-10-04 16:27:44 -07:00
2026-10-04 15:57:52 -07:00
2026-10-27 13:47:01 +07:00
2026-11-13 18:31:38 -07:00
2026-09-20 21:34:17 -07:00
2026-11-11 15:28:42 +07:00
2026-10-28 17:29:22 +07:00
2026-09-20 21:34:17 -07:00
2026-10-29 20:03:36 +07:00
2026-10-04 14:48:28 -07:00
2026-11-12 18:34:23 +07:00
2026-10-04 16:08:28 -07:00
2026-09-22 14:14:15 -07:00
2026-10-04 15:33:37 -07:00
2026-10-22 16:31:25 +07:00
2026-11-05 08:15:42 +07:00
2026-11-05 08:15:42 +07:00
2026-09-20 21:34:17 -07:00
2026-10-04 16:25:49 -07:00
2026-10-31 10:50:08 -07:00
2026-11-03 07:32:53 +07:00
2026-10-19 20:47:27 -07:00
2026-11-05 14:58:06 +07:00
2026-11-12 19:02:26 +07:00
2026-11-07 11:53:35 -07:00
2026-09-20 21:34:17 -07:00
2026-09-20 21:34:17 -07:00
2026-09-20 21:34:17 -07:00
2026-10-19 20:47:27 -07:00
2026-10-30 23:52:21 -07:00
2026-10-30 23:41:36 -07:00
2026-11-12 18:06:09 -07:00
2026-09-20 21:34:17 -07:00
2026-11-05 08:15:42 +07:00
2026-10-23 22:24:38 +07:00
2026-10-27 12:33:49 -07:00
2026-10-28 00:07:17 +07:00