文档(会员契约): 并发上限不再硬编码 128 哨兵

- ProfileMembershipPlanResponse.concurrentJobLimit 改为引用后端下发的 unlimitedConcurrencyThreshold
- 同步重新生成 ts-rs 绑定,避免哨兵值变更时注释误导消费方
This commit is contained in:
2026-10-05 17:54:38 +08:00
parent 759bcf98a8
commit 8e9d2389e0
2 changed files with 2 additions and 2 deletions
@@ -12,7 +12,7 @@ plan: ProfileMembershipPlanToken, title: string, rank: number, monthPriceCents:
*/
modelAccess: ProfileMembershipModelAccessToken,
/**
* 并发上限;`128` 表示不设上限。
* 并发上限;达到后端下发的 `unlimitedConcurrencyThreshold` 即表示不设上限,前端不硬编码哨兵值。
*/
concurrentJobLimit: number,
/**
@@ -535,7 +535,7 @@ pub struct ProfileMembershipPlanResponse {
/// 模型权限 token:`basic` / `full`;未知取值按 `full` 兜底。
#[serde(deserialize_with = "deserialize_forward_compat_model_access")]
pub model_access: ProfileMembershipModelAccessToken,
/// 并发上限;`128` 表示不设上限。
/// 并发上限;达到后端下发的 `unlimitedConcurrencyThreshold` 即表示不设上限,前端不硬编码哨兵值。
pub concurrent_job_limit: u32,
/// 是否为运营推荐档位;由后端目录决定,前端不再硬编码档位 token。
pub recommended: bool,