mirror of
https://github.com/Nezumi-2711/9router.git
synced 2026-09-22 13:38:31 +00:00
fix(xiaomi-tokenplan): region selector, key validation, multi-connection (#2251)
- Add top-level regions array so Add/Edit modals render region <Select> - EditConnectionModal: load/persist region generically for region-aware providers - validate: accept 403 for xiaomi-tokenplan valid keys, add 8s fetch timeout - Remove single-connection guard for compatible/embedding nodes Co-authored-by: MiQieR <122154116+MiQieR@users.noreply.github.com> Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
committed by
decolua
co-authored by
Cursor
parent
ce6120ce7b
commit
9102c4c6d8
@@ -21,6 +21,11 @@ export default {
|
||||
},
|
||||
category: "apikey",
|
||||
hasProviderSpecificData: true,
|
||||
regions: [
|
||||
{ id: "sgp", label: "Singapore (新加坡)" },
|
||||
{ id: "cn", label: "China (中国大陆)" },
|
||||
{ id: "ams", label: "Amsterdam (阿姆斯特丹)" },
|
||||
],
|
||||
defaultRegion: "sgp",
|
||||
transport: {
|
||||
baseUrl: "https://token-plan-sgp.xiaomimimo.com/v1/chat/completions",
|
||||
|
||||
Reference in New Issue
Block a user