webtecnica
f4ac4aa6b8
fix: Make MoA strictly opt-in in model pickers ( #63353 )
...
Add _raw_config_has_enabled_moa_preset() guard to _moa_provider_row()
so the virtual MoA provider row only appears in model pickers when the
user's raw config.yaml explicitly enables at least one MoA preset.
The synthesized 'default' preset from normalize_moa_config({}) (which
every user gets via DEFAULT_CONFIG defaults) must not be treated as a
user choice — a user selecting 'openai-codex:gpt-5.6-sol' should never
see a transient switch to provider=moa.
The guard already existed in _filter_explicit_provider_rows() but was
missing from _moa_provider_row(), which is the entry point for the
non-explicit picker paths (TUI full picker, dashboard picker, etc.).
Adjust three tests that iterated CANONICAL_PROVIDERS (which includes
'moa') or used count-based assertions that assumed MoA was always
present.
2026-09-28 10:56:47 -05:00
..
2026-09-27 22:41:39 -04:00
2026-09-28 02:32:05 +05:30
2026-09-28 19:08:27 +05:30
2026-09-28 06:42:00 -07:00
2026-09-27 03:37:09 -07:00
2026-09-27 02:55:39 -07:00
2026-09-28 03:37:09 -07:00
2026-09-27 18:37:01 +05:30
2026-09-27 18:19:17 +05:30
2026-09-28 02:00:41 -07:00
2026-09-27 18:19:17 +05:30
2026-09-28 03:37:09 -07:00
2026-09-28 03:34:07 -07:00
2026-09-26 22:19:53 -05:00
2026-09-28 03:37:09 -07:00
2026-09-28 03:34:07 -07:00
2026-09-27 19:04:20 -05:00
2026-09-28 03:34:07 -07:00
2026-09-28 02:00:41 -07:00
2026-09-28 03:34:07 -07:00
2026-09-28 03:34:07 -07:00
2026-09-28 04:04:23 -07:00
2026-09-28 02:00:41 -07:00
2026-09-28 05:28:05 -07:00
2026-09-28 04:44:29 -07:00
2026-09-28 15:54:01 +05:30
2026-09-28 06:42:00 -07:00
2026-09-27 22:04:26 -07:00
2026-09-28 06:42:00 -07:00
2026-09-28 04:04:23 -07:00
2026-09-28 04:04:23 -07:00
2026-09-27 02:57:28 -07:00
2026-09-28 06:06:17 -07:00
2026-09-28 03:08:56 -07:00
2026-09-27 15:27:43 -05:00
2026-09-28 10:56:47 -05:00
2026-09-28 03:37:09 -07:00
2026-09-27 18:29:18 +05:30
2026-09-27 18:29:18 +05:30
2026-09-28 03:37:09 -07:00
2026-09-28 03:37:09 -07:00
2026-09-27 15:27:43 -05:00
2026-09-28 19:02:20 +05:30
2026-09-28 04:44:29 -07:00
2026-09-27 11:44:31 -07:00
2026-09-28 06:42:00 -07:00
2026-09-28 03:13:19 -07:00
2026-09-27 21:30:10 -07:00
2026-09-28 05:37:55 -07:00
2026-09-27 18:31:33 -05:00
2026-09-27 17:06:55 -07:00
2026-09-27 06:26:52 -05:00
2026-09-27 17:06:55 -07:00
2026-09-28 04:04:23 -07:00
2026-09-28 05:24:26 -07:00
2026-09-27 06:26:52 -05:00
2026-09-27 21:29:39 -07:00
2026-09-28 04:04:23 -07:00
2026-09-28 04:04:23 -07:00
2026-09-28 04:59:38 -07:00
2026-09-27 03:41:42 -07:00
2026-09-28 04:44:29 -07:00
2026-09-28 03:34:07 -07:00
2026-09-28 15:54:01 +05:30
2026-09-27 20:49:04 +05:30
2026-09-27 20:49:04 +05:30
2026-09-28 08:33:43 +00:00
2026-09-28 03:34:07 -07:00
2026-09-28 06:42:00 -07:00
2026-09-27 02:54:03 -07:00
2026-09-27 20:45:56 +05:30
2026-09-27 07:43:23 -05:00
2026-09-28 03:34:07 -07:00
2026-09-28 19:02:20 +05:30
2026-09-27 23:53:40 -07:00
2026-09-27 14:09:15 -05:00
2026-09-28 03:08:56 -07:00
2026-09-28 04:44:29 -07:00
2026-09-28 04:44:29 -07:00
2026-09-28 03:08:56 -07:00
2026-09-28 01:52:54 -07:00
2026-09-28 05:33:25 -07:00
2026-09-28 04:44:29 -07:00
2026-09-28 05:33:25 -07:00
2026-09-27 02:55:39 -07:00
2026-09-27 02:57:28 -07:00
2026-09-28 04:44:29 -07:00
2026-09-28 01:52:54 -07:00
2026-09-28 05:33:25 -07:00
2026-09-28 04:44:29 -07:00
2026-09-27 14:09:15 -05:00
2026-09-27 03:38:52 -07:00
2026-09-27 15:08:15 -05:00
2026-09-28 16:23:22 +05:30
2026-09-28 05:37:55 -07:00
2026-09-28 06:06:17 -07:00
2026-09-28 16:23:22 +05:30