shaw
25af9b1dd2
Merge main (#7618 platform catalog + provider profile) into feature/composite-ollama-unified
解决与 #7618 的 51 个文件冲突,并把 ollama_cloud 接入平台清单与 provider profile:
- domain/platforms.go 登记 ollama_cloud(OpenAI 网关,LiteLLMProvider 留空);
provider_profile.go 登记 by_inbound profile(legacy/credits 两模式共用端点),
新增 ProviderProfile.DefaultAPIProtocol 表达未配置时默认 adaptive。
- 删除 #7114 手写的约 30 处平台清单/switch,改用清单派生(AllowedQuotaPlatforms、
binding 校验、调度快照、组合分组、路由 dispatcher、前端平台选项/配色/配额等)。
- 迁移 242_ollama_cloud_platform 改为 243_ollama_cloud_channel_monitor_provider:
只放宽渠道监控 provider CHECK,不再重建 #7618 删除的两个平台 CHECK(否则
command_code/cline 写入失败)。
- compositeOwnershipQueryPlatforms 改为平台清单派生,修复 command_code/cline
账号在组合分组归属扫描中被漏掉。
- 连接测试:ollama_cloud 专属路径先于按入站协议分流的通用分支。
- nativeAnthropicMessagesURL:版本感知拼接对 ollama_cloud 生效,国产厂商保持朴素拼接。
- GetOpenAIBaseURL 保留多协议账号不回落 api.openai.com 的护栏。
- 前端:ollama_cloud 保留专属表单(双额度模式 + 月度信用额度),从通用表单与
通用平台按钮中排除;端点常量改读平台清单;配额弹窗/设置页保留未知平台行护栏。
- 重新生成 platformCatalog.builtin.json;同步相关测试基准。
2026-10-09 14:11:23 +08:00
..
2026-10-09 14:11:23 +08:00
2026-10-08 15:24:05 +08:00
2026-05-26 10:49:20 +08:00
2026-02-02 22:13:50 +08:00
2026-08-09 22:42:51 +08:00
2026-08-09 22:42:51 +08:00
2026-08-06 20:34:37 +08:00
2026-09-05 16:05:17 +08:00
2026-05-19 15:27:47 +08:00
2026-05-19 15:27:47 +08:00
2026-05-19 15:27:47 +08:00
2026-08-04 20:57:15 +08:00
2026-09-23 01:24:59 +08:00
2026-08-04 20:57:15 +08:00
2026-08-04 15:09:29 +08:00
2026-07-16 13:47:50 +08:00
2026-08-04 20:57:15 +08:00
2026-08-04 20:57:15 +08:00
2026-08-04 20:57:15 +08:00
2026-04-22 12:30:00 +08:00
2026-09-28 12:26:28 -04:00
2026-08-07 03:09:57 +08:00
2026-05-21 15:19:29 +08:00
2026-05-21 15:19:29 +08:00
2026-08-24 12:02:53 +08:00
2026-07-28 17:21:32 +08:00
2026-05-26 10:49:20 +08:00
2026-08-04 20:57:15 +08:00
2026-09-20 16:41:49 +08:00
2026-09-20 16:41:49 +08:00
2026-09-05 16:05:17 +08:00
2026-08-18 04:14:15 +00:00
2026-08-30 09:28:40 +08:00
2026-08-30 09:28:40 +08:00
2026-07-15 22:22:51 +08:00
2026-10-08 15:24:04 +08:00
2026-10-08 15:24:04 +08:00
2026-10-08 15:24:04 +08:00
2026-10-08 15:24:04 +08:00
2026-10-08 15:24:04 +08:00
2026-10-08 15:24:04 +08:00
2026-10-08 15:24:04 +08:00
2026-09-26 17:13:10 +08:00
2026-09-03 12:48:02 +08:00
2026-07-23 09:20:52 +08:00
2026-09-20 20:20:16 +08:00
2026-10-08 15:24:04 +08:00
2026-10-08 15:24:04 +08:00
2026-08-01 22:39:33 +08:00
2026-08-20 18:16:38 -07:00
2026-08-20 18:16:38 -07:00
2026-05-26 10:49:20 +08:00
2026-09-26 17:13:10 +08:00
2026-10-08 15:24:04 +08:00
2026-09-24 16:20:28 +08:00
2026-09-26 17:13:10 +08:00
2026-07-27 15:20:03 +00:00
2026-10-08 15:24:05 +08:00
2026-10-08 15:24:04 +08:00
2026-03-15 16:21:49 +08:00
2026-07-13 11:35:46 +08:00
2026-07-27 15:20:03 +00:00
2026-10-09 14:11:23 +08:00
2026-02-07 22:14:07 +08:00
2026-07-13 15:32:42 +08:00
2026-09-08 19:12:37 +08:00
2026-07-14 14:55:30 +08:00
2026-09-08 19:12:37 +08:00
2026-09-28 16:14:43 -04:00
2026-09-28 16:14:43 -04:00
2026-07-23 09:20:52 +08:00
2026-07-15 22:42:53 +08:00
2026-09-15 16:50:46 +08:00
2026-09-20 20:20:16 +08:00
2026-10-03 09:11:53 +08:00
2026-10-02 13:08:40 +08:00
2026-10-02 13:51:58 +08:00
2026-09-28 16:14:43 -04:00
2026-02-07 17:12:15 +08:00
2026-09-26 17:13:10 +08:00
2026-09-15 16:50:46 +08:00
2026-09-15 16:50:46 +08:00
2026-09-28 16:14:43 -04:00
2026-08-13 08:38:10 +08:00
2026-09-28 16:14:43 -04:00
2026-09-17 04:14:14 +09:00
2026-08-07 16:29:57 +08:00
2026-09-28 16:14:43 -04:00
2026-08-24 09:03:37 +08:00
2026-02-23 12:45:37 +08:00
2026-02-23 12:45:37 +08:00
2026-05-26 10:49:20 +08:00
2026-05-05 03:26:54 +08:00
2026-07-20 15:20:51 +08:00
2026-07-15 19:57:37 -07:00
2026-07-19 00:56:21 -07:00
2026-02-12 19:01:09 +08:00
2026-09-23 11:28:41 +08:00
2026-09-23 11:28:41 +08:00
2026-09-01 15:18:30 +08:00
2026-09-01 15:18:30 +08:00
2026-09-28 16:14:43 -04:00
2026-09-09 12:48:57 +08:00
2026-07-16 00:52:26 +08:00
2026-10-08 15:24:04 +08:00
2026-08-31 21:04:29 +08:00
2026-10-01 03:30:56 -07:00
2026-09-05 19:58:47 +08:00
2026-09-29 01:50:21 +08:00
2026-09-29 01:50:21 +08:00
2026-09-03 11:39:23 +08:00
2026-09-28 16:14:43 -04:00
2026-09-11 15:39:13 +08:00
2026-08-14 18:18:53 +08:00
2026-08-14 18:18:53 +08:00
2026-08-20 22:01:20 -07:00
2026-07-23 00:06:04 +08:00
2026-09-06 20:38:17 +08:00
2026-09-05 15:32:29 +08:00
2026-03-15 22:13:42 +08:00
2026-07-15 13:01:16 +08:00
2026-10-01 11:27:35 +08:00
2026-10-09 14:11:23 +08:00
2026-07-26 13:33:56 +08:00
2026-07-26 13:33:56 +08:00
2026-05-28 22:44:25 +08:00
2026-09-23 15:29:11 +08:00
2026-08-19 18:51:21 +08:00
2026-10-01 11:27:35 +08:00
2026-09-05 16:05:17 +08:00
2026-07-17 15:29:14 +08:00
2026-07-15 04:20:11 +08:00
2026-09-21 10:23:10 +08:00
2026-05-05 03:26:54 +08:00
2026-09-11 15:57:09 +08:00
2026-09-28 16:14:43 -04:00
2026-08-19 04:40:32 +00:00
2026-08-19 04:40:32 +00:00
2026-09-07 18:33:39 +08:00
2026-09-10 15:57:17 +08:00
2026-08-14 16:23:52 +08:00
2026-08-01 22:39:33 +08:00
2026-06-28 11:13:09 +08:00
2026-09-07 17:58:20 +08:00
2026-07-15 09:29:05 +08:00
2026-07-19 18:49:08 +08:00
2026-08-20 22:01:20 -07:00
2026-09-04 10:14:29 +08:00
2026-06-03 14:18:12 +08:00
2026-06-03 14:18:12 +08:00
2026-08-28 13:17:43 +08:00
2026-08-17 19:45:07 +08:00
2026-09-29 01:50:21 +08:00
2026-08-13 08:37:57 +08:00
2026-08-13 08:37:57 +08:00
2026-08-20 22:01:20 -07:00
2026-07-18 00:11:18 +08:00
2026-06-12 01:47:01 +08:00
2026-09-26 17:13:10 +08:00
2026-10-08 15:24:04 +08:00
2026-08-19 23:13:40 -07:00
2026-07-23 09:19:25 +08:00
2026-05-12 15:21:31 +08:00
2026-06-10 14:16:51 +08:00
2026-08-04 15:09:29 +08:00
2026-08-04 20:57:15 +08:00
2026-07-13 15:22:39 +08:00
2026-10-02 00:25:41 +08:00
2026-05-11 11:17:26 +08:00
2026-05-11 11:17:26 +08:00
2026-09-16 13:19:15 +08:00
2026-09-16 13:19:15 +08:00
2026-07-09 11:15:52 +08:00
2026-07-07 13:53:39 +08:00
2026-07-07 13:53:39 +08:00
2026-08-19 09:03:37 -07:00
2026-08-19 09:03:37 -07:00
2026-07-17 00:39:39 +08:00
2026-07-17 00:39:39 +08:00
2026-08-11 11:56:46 +08:00
2026-08-11 11:56:46 +08:00
2026-07-17 00:39:39 +08:00
2026-07-17 00:39:39 +08:00
2026-09-17 04:14:14 +09:00
2026-09-17 04:14:14 +09:00
2026-08-06 20:34:37 +08:00
2026-09-11 00:50:17 +08:00
2026-09-14 11:45:53 +08:00
2026-09-14 11:45:53 +08:00
2026-07-16 16:49:08 +08:00
2026-06-05 14:00:57 +08:00
2026-08-28 23:32:11 +08:00
2026-04-09 18:14:28 +08:00
2026-08-28 23:32:11 +08:00
2026-08-07 17:58:23 +08:00
2026-08-01 11:29:58 +08:00
2026-09-28 12:26:28 -04:00
2026-05-26 10:49:20 +08:00
2026-08-19 23:13:40 -07:00
2026-05-26 10:49:20 +08:00
2026-09-29 15:50:53 +08:00