All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 3m0s
- Fast 模型:取消隐藏 Toolbar 选项,用户可选 AirDrama / AirDrama Fast - 四档计费:按模型+有无视频参考选单价(2.0: 46/28, Fast: 37/22 元/百万tokens) - QuotaConfig 新增 base_token_price_fast / base_token_price_fast_video 字段 - 系统设置页 4 个价格输入框(Seedance 2.0 + Fast 各两个) - 前端预估动态选价:根据当前选的模型和有无视频参考实时计算 - 推理接入点:Fast EP ep-m-20260329211530-68999 - 消费记录表格+CSV+详情弹窗加"模型"列 - 轮询间隔改为全程固定 5 秒 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
24 lines
770 B
Python
24 lines
770 B
Python
# Generated by Django 4.2.29 on 2026-03-29 13:30
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('generation', '0014_add_updated_at_to_record'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name='quotaconfig',
|
|
name='base_token_price_fast',
|
|
field=models.DecimalField(decimal_places=2, default=37, max_digits=10, verbose_name='Fast单价-不含视频(元/百万tokens)'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='quotaconfig',
|
|
name='base_token_price_fast_video',
|
|
field=models.DecimalField(decimal_places=2, default=22, max_digits=10, verbose_name='Fast单价-含视频(元/百万tokens)'),
|
|
),
|
|
]
|