Timothy Laurent
5fd678d619
fix(dashboard): resolve default model from settings for mission interview
...
The mission interview route passed modelProvider/modelId from the request
body directly without resolving the configured default model from settings.
When "Use default" was selected, both values were undefined, causing
createFnAgent to use pi's internal fallback instead of the user's
configured default (e.g. zai/glm-5.1). This produced "AI returned no
valid JSON" errors.
Use resolvePlanningSettingsModel() to resolve the effective model from
the settings hierarchy (planning-specific → project → global defaults),
with explicit request overrides still taking precedence.
Closes #48
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-05-05 22:24:38 -07:00
..
2026-04-24 19:39:20 -07:00
2026-05-01 08:56:10 -07:00
2026-04-24 19:39:20 -07:00
2026-04-24 19:39:20 -07:00
2026-05-03 00:05:28 -07:00
2026-04-28 14:25:55 -07:00
2026-04-24 19:39:20 -07:00
2026-05-01 00:33:17 -07:00
2026-04-26 06:35:46 -07:00
2026-03-31 19:29:47 -07:00
2026-04-22 18:50:09 -07:00
2026-05-05 08:21:33 -07:00
2026-05-05 08:21:33 -07:00
2026-05-05 08:21:33 -07:00
2026-04-18 07:36:57 -07:00
2026-04-24 19:39:20 -07:00
2026-04-29 07:10:52 -07:00
2026-05-05 06:32:33 -07:00
2026-04-12 12:13:06 -07:00
2026-04-20 12:59:58 -07:00
2026-04-19 20:48:14 -07:00
2026-05-02 15:57:18 -07:00
2026-05-02 15:57:18 -07:00
2026-04-25 10:50:32 -07:00
2026-05-02 15:57:18 -07:00
2026-05-02 15:57:18 -07:00
2026-04-24 11:06:20 -07:00
2026-04-26 13:00:56 -07:00
2026-04-22 13:46:53 -07:00
2026-04-26 13:00:56 -07:00
2026-04-22 13:46:53 -07:00
2026-04-20 22:45:26 -07:00
2026-04-24 09:38:16 -07:00
2026-05-04 19:05:48 -07:00
2026-05-04 03:04:33 -07:00
2026-05-01 09:00:31 -07:00
2026-04-24 08:55:02 -07:00
2026-04-26 18:11:09 -07:00
2026-04-02 09:10:42 -07:00
2026-03-31 17:03:23 -07:00
2026-04-26 18:11:09 -07:00
2026-04-08 00:01:09 -07:00
2026-05-03 05:17:44 -07:00
2026-04-23 10:50:44 -07:00
2026-04-24 08:54:25 -07:00
2026-04-28 14:25:55 -07:00
2026-05-05 22:24:38 -07:00
2026-04-28 14:25:55 -07:00
2026-04-08 08:10:17 -07:00
2026-04-13 18:58:18 -07:00
2026-04-24 08:55:02 -07:00
2026-04-24 19:39:20 -07:00
2026-05-05 11:32:05 -07:00
2026-05-05 20:47:38 -07:00
2026-05-05 12:14:20 -07:00
2026-04-19 20:48:14 -07:00
2026-04-28 18:21:17 -07:00
2026-04-12 21:58:19 -07:00
2026-05-02 18:11:38 -07:00
2026-04-24 19:39:20 -07:00
2026-05-04 07:25:14 -07:00
2026-05-04 10:18:38 -07:00
2026-05-01 11:55:56 -07:00
2026-04-26 11:35:44 -07:00
2026-04-26 11:49:43 -07:00
2026-05-04 15:04:36 -07:00
2026-05-04 14:54:55 -07:00
2026-05-05 13:05:57 -07:00
2026-04-24 19:39:20 -07:00
2026-04-24 19:39:20 -07:00
2026-04-30 17:40:14 -07:00
2026-04-30 17:40:14 -07:00
2026-05-04 15:33:39 -07:00
2026-04-30 17:40:14 -07:00
2026-04-10 08:01:03 -07:00
2026-04-30 17:40:14 -07:00
2026-04-30 17:40:14 -07:00
2026-05-05 20:47:38 -07:00
2026-05-01 12:54:17 -07:00
2026-04-30 17:40:14 -07:00
2026-05-05 06:32:34 -07:00
2026-05-05 01:24:14 -07:00
2026-05-02 17:25:40 -07:00
2026-04-28 18:21:17 -07:00
2026-04-29 10:29:13 -07:00
2026-04-28 18:21:17 -07:00
2026-05-04 22:17:10 -07:00
2026-05-04 13:17:57 -07:00
2026-04-30 17:40:14 -07:00
2026-04-30 17:40:14 -07:00
2026-04-30 17:40:14 -07:00
2026-05-05 11:32:05 -07:00
2026-04-30 17:40:14 -07:00
2026-04-24 08:54:25 -07:00
2026-05-04 15:04:36 -07:00
2026-04-28 18:21:17 -07:00
2026-05-04 13:43:22 -07:00
2026-04-25 14:19:28 -07:00
2026-05-04 15:16:53 -07:00
2026-05-04 01:20:43 -07:00
2026-05-02 17:25:40 -07:00
2026-05-05 20:47:37 -07:00
2026-04-24 19:39:20 -07:00
2026-04-24 19:39:20 -07:00
2026-04-23 10:50:44 -07:00
2026-04-27 03:21:59 -07:00
2026-04-30 05:43:13 -07:00
2026-04-26 20:56:31 -07:00
2026-04-19 20:48:14 -07:00
2026-04-19 20:48:14 -07:00
2026-04-26 20:56:31 -07:00
2026-04-19 20:48:14 -07:00
2026-04-29 07:58:58 -07:00
2026-04-29 07:10:52 -07:00
2026-04-29 07:35:23 -07:00
2026-04-08 08:10:17 -07:00
2026-04-08 06:02:28 -07:00
2026-05-03 09:11:04 -07:00
2026-05-02 18:11:38 -07:00
2026-04-28 14:25:55 -07:00
2026-05-02 13:32:09 -07:00
2026-04-26 13:00:56 -07:00
2026-05-05 06:32:33 -07:00
2026-04-26 13:55:25 -07:00
2026-04-27 02:19:44 -07:00
2026-04-29 07:10:52 -07:00
2026-05-03 10:36:28 -07:00
2026-04-23 10:50:44 -07:00