erio
8548a130c7
fix: Messages() routing refactor and subscription group test coverage
- Refactor OpenAI Messages() routing: pre-compute dispatch model using
resolveOpenAIMessagesDispatchMappedModel + NormalizeOpenAICompatRequestedModel
instead of try-fail-retry pattern with gin context passing
- Remove openai_messages_fallback_model context anti-pattern
- Use effectiveMappedModel directly for forward default mapped model
- Add 3 subscription group tests covering all branch paths:
_Blocked (no active subscription → SUBSCRIPTION_REQUIRED),
_RequiresRepo (nil repo → SUBSCRIPTION_REPOSITORY_UNAVAILABLE),
_AllowsActiveSubscription (valid subscription → success)
2026-04-14 20:34:53 +08:00
..
2026-04-14 19:29:37 +08:00
2026-04-14 17:35:27 +08:00
2026-04-09 18:14:28 +08:00
2026-03-15 17:52:29 +08:00
2026-04-09 02:20:51 +00:00
2026-04-09 02:20:51 +00:00
2026-04-05 17:11:01 +08:00
2026-04-05 17:11:01 +08:00
2026-04-14 09:12:42 +08:00
2026-04-14 09:12:42 +08:00
2026-03-15 16:21:49 +08:00
2026-04-14 12:11:08 +08:00
2026-04-14 19:29:37 +08:00
2026-03-09 19:55:18 +08:00
2026-03-18 11:31:32 +08:00
2026-04-01 02:20:13 +08:00
2026-04-14 12:19:44 +08:00
2026-04-11 13:16:35 +08:00
2026-04-14 09:12:42 +08:00
2026-03-15 22:13:42 +08:00
2026-04-09 12:29:49 +08:00
2026-04-14 20:34:53 +08:00
2026-03-24 09:52:56 +08:00
2026-03-21 23:38:00 +08:00
2026-04-14 16:26:46 +08:00
2026-04-11 13:16:35 +08:00
2026-04-14 17:35:27 +08:00
2026-04-14 09:32:11 +08:00
2026-04-09 18:14:28 +08:00
2026-04-09 18:14:28 +08:00
2026-04-09 18:14:28 +08:00
2026-04-05 17:11:01 +08:00
2026-04-14 09:26:32 +08:00
2026-04-11 13:16:35 +08:00