gsxdsm
130f6f1e9a
FN-5834: enforce explicit developer-role compatibility for custom providers
Prevent unsupported developer-role API failures by making provider role compatibility explicit and covered by regression safeguards.
- Add explicit supportsDeveloperRole capability to custom provider metadata/types and wire it through provider registration.
- Update CLI custom-provider registration behavior and tests to persist and validate developer-role compatibility settings.
- Add/adjust engine regression coverage for openai-completions message role conversion, including reasoning-model fallback behavior.
- Document the new custom provider setting and add a published changeset for @runfusion/fusion.
Files changed:
.changeset/fn-5834-developer-role-compat.md | 5 ++
docs/settings-reference.md | 2 +-
packages/cli/src/commands/__tests__/custom-provider-registry.test.ts | 44 +++++++++++-
packages/cli/src/commands/custom-provider-registry.ts | 9 ++-
packages/core/src/types.ts | 5 ++
packages/engine/src/__tests__/custom-providers-openai-completions.test.ts | 84 +++++++++++-----------
6 files changed, 106 insertions(+), 43 deletions(-)
Fusion-Task-Id: FN-5834
Fusion-Task-Lineage: 4edc80c9-5e60-41e4-bce1-662d18255d88
2026-06-01 09:05:18 -07:00
..
2026-06-01 09:05:18 -07:00
2026-05-27 21:31:13 -07:00
2026-04-08 13:31:07 -07:00
2026-04-23 23:02:36 -07:00
2026-04-14 12:45:15 -07:00
2026-05-04 23:47:26 -07:00
2026-05-20 20:05:08 -07:00
2026-05-17 22:47:53 -07:00
2026-04-28 18:23:21 -07:00
2026-04-23 15:53:47 -07:00
2026-04-23 23:02:36 -07:00
2026-06-01 09:05:18 -07:00
2026-05-28 21:23:48 -07:00
2026-05-26 21:57:31 -07:00
2026-05-28 21:23:48 -07:00
2026-05-11 21:48:26 -07:00
2026-04-09 15:49:42 -07:00
2026-05-01 12:21:52 -07:00
2026-05-23 04:18:55 -07:00
2026-05-14 04:42:32 -07:00
2026-04-23 23:02:36 -07:00
2026-05-29 08:25:38 -07:00
2026-05-28 19:55:52 -07:00
2026-05-04 23:59:52 -07:00
2026-05-09 14:41:58 -07:00
2026-05-13 21:41:14 -07:00
2026-05-25 15:27:06 -07:00
2026-04-28 23:23:34 -07:00
2026-06-01 01:42:19 -07:00
2026-04-23 23:02:37 -07:00
2026-05-08 08:07:01 -07:00
2026-04-10 12:47:46 -07:00
2026-05-23 11:49:23 -07:00
2026-05-28 21:23:48 -07:00
2026-04-23 23:02:36 -07:00
2026-05-13 06:29:36 -07:00
2026-04-26 00:00:49 -07:00
2026-05-28 21:23:48 -07:00
2026-04-08 11:00:32 -07:00
2026-04-08 11:00:32 -07:00
2026-05-16 07:16:05 -07:00
2026-04-24 08:55:02 -07:00
2026-04-27 23:27:27 -07:00
2026-05-20 22:34:32 -07:00
2026-05-31 14:01:50 -07:00
2026-05-30 13:43:36 -07:00
2026-05-28 14:50:15 -07:00