mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-10-28 16:09:34 +00:00
Add frontend free Fast types
This commit is contained in:
@@ -612,6 +612,7 @@ export interface Group {
|
||||
|
||||
export interface AdminGroup extends Group {
|
||||
force_openai_fast: boolean
|
||||
free_openai_fast: boolean
|
||||
model_pricing: import('@/api/admin/channels').ChannelModelPricing[]
|
||||
// 分组利润控制(openai/anthropic/gemini/grok/antigravity 分组可启用;margin/buffer 为小数存储)。
|
||||
// 仅管理员可见:与 rate_multiplier 相乘即可反推上游成本上限,不得下放到 Group。
|
||||
@@ -777,6 +778,7 @@ export interface CreateGroupRequest {
|
||||
monthly_limit_usd?: number | null
|
||||
long_context_pricing_enabled?: boolean
|
||||
force_openai_fast?: boolean
|
||||
free_openai_fast?: boolean
|
||||
model_pricing?: import('@/api/admin/channels').ChannelModelPricing[]
|
||||
allow_image_generation?: boolean
|
||||
allow_batch_image_generation?: boolean
|
||||
@@ -840,6 +842,7 @@ export interface UpdateGroupRequest {
|
||||
monthly_limit_usd?: number | null
|
||||
long_context_pricing_enabled?: boolean
|
||||
force_openai_fast?: boolean
|
||||
free_openai_fast?: boolean
|
||||
model_pricing?: import('@/api/admin/channels').ChannelModelPricing[]
|
||||
allow_image_generation?: boolean
|
||||
allow_batch_image_generation?: boolean
|
||||
|
||||
Reference in New Issue
Block a user