rules: split AI egress into 直连AI / 代理AI groups; move opencode.ai to 代理AI

This commit is contained in:
kelvingc committed 2026-09-13 16:31:38 +00:00
1 parent f3cafa1389
commit 9943ab5f6c
1 file changed
+8 -3
+8 -3
View File
@@ -42,8 +42,12 @@ ruleset=🎮 游戏平台,https://gitea.kelvingc.com/kelvingc/OpenClash_Rules_On
ruleset=🎮 游戏平台,[]GEOSITE,steam
ruleset=🎮 游戏平台,[]GEOSITE,category-games
;【AI模型API直连特赦 - 所有模型API强制直连,不依赖代理】
ruleset=🧠 AI接入,https://gitea.kelvingc.com/kelvingc/OpenClash_Rules_Online/raw/branch/main/Rules/Api.list
;【AI 分层出口 - 两组,按域名归属分开治理】
; Rules/Api.list -> 🧠 直连AI (默认 DIRECT,不依赖代理)
; Rules/ApiProxy.list -> 🔀 代理AI (默认 🎯 总模式,走代理)
; ⚠️ 同一域名只能出现在其中一个 list;本段必须排在下方 GEOSITE 大扫之前
ruleset=🧠 直连AI,https://gitea.kelvingc.com/kelvingc/OpenClash_Rules_Online/raw/branch/main/Rules/Api.list
ruleset=🔀 代理AI,https://gitea.kelvingc.com/kelvingc/OpenClash_Rules_Online/raw/branch/main/Rules/ApiProxy.list
;====================================================================
;基础大厂与特殊服务层 (高频业务,用二进制标签秒开)
@@ -123,7 +127,8 @@ custom_proxy_group=🎯 总模式`select`[]♻️ 手动切换`.*`[]DIRECT
custom_proxy_group=♻️ 手动切换`select`.*`[]DIRECT`[]REJECT
custom_proxy_group=Ⓜ️ 延迟最低`url-test`.*`https://www.gstatic.com/generate_204`300,,100
;custom_proxy_group=📬 国外DNS`select`[]🎯 总模式`.*`[]♻️ 手动切换`[]DIRECT
custom_proxy_group=🧠 AI接入`select`[]DIRECT`[]🎯 总模式`.*`[]♻️ 手动切换
custom_proxy_group=🧠 直连AI`select`[]DIRECT`[]🎯 总模式`.*`[]♻️ 手动切换
custom_proxy_group=🔀 代理AI`select`[]🎯 总模式`.*`[]♻️ 手动切换`[]DIRECT
custom_proxy_group=🍎 苹果服务`select`[]DIRECT`[]🎯 总模式`.*`[]♻️ 手动切换
custom_proxy_group=🧩 微软服务`select`[]DIRECT`[]🎯 总模式`.*`[]♻️ 手动切换
custom_proxy_group=📲 聊天软件`select`[]🎯 总模式`.*`[]♻️ 手动切换`[]DIRECT