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-07-19 14:42:01 +08:00
2026-07-23 13:43:57 +08:00
2026-07-23 13:43:57 +08:00
2026-07-14 15:00:52 +08:00
2026-09-13 17:23:24 +08:00
2026-10-03 20:56:49 +08:00
2026-07-30 18:03:54 +08:00
2026-07-15 16:13:22 +08:00
2026-07-14 15:00:52 +08:00
2026-09-03 23:32:34 +09:00
2026-09-20 14:39:36 +08:00
2026-08-01 22:11:09 +08:00
2026-07-14 15:00:52 +08:00
2026-09-07 09:20:48 +08:00
2026-07-01 12:21:45 +08:00
2026-10-09 14:11:23 +08:00
2026-07-25 15:37:06 +08:00
2026-07-23 15:50:44 +08:00
2026-09-23 15:26:35 +08:00
2026-09-23 15:26:35 +08:00
2026-07-01 12:21:45 +08:00
2026-07-01 12:21:45 +08:00
2026-03-04 15:22:46 +08:00
2026-07-15 23:58:46 +08:00
2026-07-15 23:58:46 +08:00
2026-08-25 10:34:46 +08:00
2026-09-05 16:05:17 +08:00
2026-09-04 10:14:29 +08:00
2026-09-07 09:20:48 +08:00
2026-09-23 01:24:59 +08:00
2026-09-23 01:24:59 +08:00
2026-04-09 18:14:28 +08:00
2026-04-09 18:14:28 +08:00
2026-02-11 01:23:21 +08:00
2026-04-27 16:47:44 +08:00
2026-04-27 16:47:44 +08:00
2026-07-17 09:33:18 +08:00
2026-09-18 06:56:27 +08:00
2026-07-14 15:00:52 +08:00
2026-10-08 15:24:05 +08:00
2026-10-09 10:10:33 +08:00
2026-07-16 16:30:19 +08:00
2026-10-08 15:24:05 +08:00
2026-10-08 15:24:05 +08:00
2026-09-29 11:41:33 -04:00
2026-09-29 11:41:33 -04:00
2026-08-15 10:37:51 +00:00
2026-06-10 14:16:51 +08:00
2026-09-19 20:52:31 -04:00
2026-09-19 20:52:31 -04:00
2026-09-28 14:48:42 +08:00
2026-08-28 23:32:11 +08:00
2026-07-10 11:43:44 +08:00
2026-09-28 14:48:42 +08:00
2026-09-28 14:48:42 +08:00
2026-09-28 14:48:42 +08:00
2026-02-28 15:01:20 +08:00
2026-02-28 15:05:54 +08:00
2026-02-10 11:42:39 +08:00
2026-02-24 20:04:05 +08:00
2026-08-07 12:38:49 +08:00
2026-08-07 16:36:12 +08:00
2026-09-06 08:11:23 +08:00
2026-09-02 11:50:33 +08:00
2026-09-02 11:50:33 +08:00
2026-08-08 01:07:19 +08:00
2026-08-24 12:02:53 +08:00
2026-07-16 18:18:28 +08:00
2026-08-30 16:36:13 +08:00
2026-09-01 04:34:24 +09:00
2026-10-09 14:11:23 +08:00
2026-08-31 19:21:31 +08:00
2026-09-07 18:33:39 +08:00
2026-10-09 10:10:33 +08:00
2026-03-04 15:22:46 +08:00
2026-03-04 13:45:49 +08:00
2026-02-23 12:45:37 +08:00
2026-09-13 11:49:03 +08:00
2026-09-20 14:38:29 +08:00
2026-08-02 21:32:31 +08:00
2026-09-20 14:38:29 +08:00
2026-09-20 15:47:53 +08:00
2026-09-20 15:47:53 +08:00
2026-06-08 00:01:30 +08:00
2026-07-18 00:11:18 +08:00
2026-09-11 10:16:32 +08:00
2026-07-14 14:55:30 +08:00
2026-07-18 00:11:18 +08:00
2026-07-18 00:11:18 +08:00
2026-07-02 20:04:47 +00:00
2026-02-12 16:27:29 +08:00
2026-02-12 16:27:29 +08:00
2026-03-04 13:45:49 +08:00
2026-07-14 01:29:46 +08:00
2026-07-14 01:29:46 +08:00
2026-07-14 01:29:30 +08:00
2026-07-23 10:26:46 +08:00
2026-10-02 00:25:41 +08:00
2026-10-09 10:11:06 +08:00
2026-09-19 11:25:56 +08:00
2026-06-18 23:07:25 +08:00
2026-09-13 17:23:24 +08:00
2026-04-09 18:14:28 +08:00
2026-09-13 17:23:24 +08:00
2026-09-13 17:23:24 +08:00
2026-09-08 13:38:41 +08:00
2026-04-09 18:14:28 +08:00
2026-05-19 15:53:28 +08:00
2026-09-05 23:56:59 +08:00
2026-03-08 06:59:53 +08:00
2026-02-07 19:46:42 +08:00
2026-09-29 01:50:21 +08:00
2026-07-16 00:40:46 +08:00
2026-06-26 16:19:41 +08:00
2026-05-19 15:27:47 +08:00
2026-08-29 17:28:00 +08:00
2026-08-29 17:28:00 +08:00
2026-09-13 00:14:16 -04:00
2026-09-11 00:50:17 +08:00
2026-08-04 15:09:29 +08:00
2026-10-02 00:25:41 +08:00
2026-08-26 19:07:39 +08:00
2026-07-20 00:09:21 +08:00
2026-10-02 00:25:41 +08:00
2026-10-02 00:25:41 +08:00
2026-03-11 16:46:58 +08:00
2026-03-11 16:46:58 +08:00
2026-09-13 12:33:35 +08:00
2026-09-13 11:49:03 +08:00
2026-07-19 22:40:44 +08:00
2026-07-19 22:40:44 +08:00
2026-03-27 14:33:05 +08:00
2026-02-28 15:01:20 +08:00
2026-08-28 23:32:11 +08:00
2026-05-30 17:52:18 +08:00
2026-04-09 18:14:28 +08:00
2026-08-28 23:32:11 +08:00
2026-05-30 18:56:08 +08:00
2026-08-28 23:32:11 +08:00
2026-03-04 13:45:49 +08:00
2026-07-18 10:46:42 +08:00
2026-07-18 10:46:42 +08:00
2026-07-18 10:46:42 +08:00
2026-07-18 10:46:42 +08:00
2026-07-18 10:46:42 +08:00
2026-09-10 16:41:58 +08:00
2026-09-10 16:41:58 +08:00
2026-05-26 10:49:20 +08:00