This commit is contained in:
@@ -10,6 +10,8 @@ The historical 2026-10-24 live renewal test at `f67d742` used Apple-silicon macO
|
|||||||
|
|
||||||
`auth.accountPlan` returns the trimmed subscription name from the same `GetSubscription` response as the numeric limit. A legacy reply with only `LEVEL_BASIC`, `LEVEL_INTERMEDIATE` or `LEVEL_ADVANCED` displays Basic, Intermediate or Advanced. An unknown level without a name stays blank rather than inventing a plan. The name and concurrency share the five-minute success cache, one-minute failure backoff and same-account in-flight request. Temporary failures retain both last known values; away or tokenless accounts disclose neither another account's name nor its limit. Magpie's account row shows the plan, and the Automatic menu shows its recommended concurrency. The separate optional hook leaves `accountConcurrency` compatible with older cores.
|
`auth.accountPlan` returns the trimmed subscription name from the same `GetSubscription` response as the numeric limit. A legacy reply with only `LEVEL_BASIC`, `LEVEL_INTERMEDIATE` or `LEVEL_ADVANCED` displays Basic, Intermediate or Advanced. An unknown level without a name stays blank rather than inventing a plan. The name and concurrency share the five-minute success cache, one-minute failure backoff and same-account in-flight request. Temporary failures retain both last known values; away or tokenless accounts disclose neither another account's name nor its limit. Magpie's account row shows the plan, and the Automatic menu shows its recommended concurrency. The separate optional hook leaves `accountConcurrency` compatible with older cores.
|
||||||
|
|
||||||
|
On **2026-11-20**, plugin 0.1.21 at code commit `b72b6407c3a2a463b361dec026f04ad4c34dbfdc` ran on the NAS with Magpie core `7794c45bd110ec9e60cea7b90f8871ab654accf8`, image `zot.docker.antior.cn/magpie:kimi-work-plan-7794c45bd`. The real `Kimi Work · 3315a2` account reported plan **月度共享额度** and recommended/automatic concurrency **1**. Provider and account manual overrides were both unset (`null`). The live Providers card and account row showed the plan and `并发 1`; the Automatic menu showed `月度共享额度 · 推荐并发 1`. A minimal streaming `kimi-work/k3-agent` request with a 128-token output limit returned HTTP **200**, content `OK`, `finish_reason: stop` and `[DONE]`. An initial 16-token check ended with `finish_reason: length` after reasoning only; the larger limit allowed the requested answer. No high-concurrency load test was made.
|
||||||
|
|
||||||
## Plan-based concurrency (0.1.20)
|
## Plan-based concurrency (0.1.20)
|
||||||
|
|
||||||
`auth.accountConcurrency` reads `MembershipService/GetSubscription` with the account's own membership access and maps its `subscription.plan` to the Agent-task limits: Free/Andante/Go 1, Moderato/Plus and Allegretto/Pro 2, Allegro/Max/Ultra 4. The observed `LEVEL_BASIC` and `LEVEL_INTERMEDIATE` values map to 2 and `LEVEL_ADVANCED` to 4; no other numeric enum is guessed. A name/level conflict uses the smaller value. Unknown plans, missing tokens and failed reads use 1 unless a last successful value is available.
|
`auth.accountConcurrency` reads `MembershipService/GetSubscription` with the account's own membership access and maps its `subscription.plan` to the Agent-task limits: Free/Andante/Go 1, Moderato/Plus and Allegretto/Pro 2, Allegro/Max/Ultra 4. The observed `LEVEL_BASIC` and `LEVEL_INTERMEDIATE` values map to 2 and `LEVEL_ADVANCED` to 4; no other numeric enum is guessed. A name/level conflict uses the smaller value. Unknown plans, missing tokens and failed reads use 1 unless a last successful value is available.
|
||||||
|
|||||||
Reference in New Issue
Block a user