mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: Application opening statement character limit (#2075)
This commit is contained in:
parent
0711ed5f60
commit
5772b02280
|
|
@ -0,0 +1,18 @@
|
|||
# Generated by Django 4.2.18 on 2025-01-22 09:53
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('application', '0024_applicationaccesstoken_language'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='application',
|
||||
name='prologue',
|
||||
field=models.CharField(default='', max_length=40960, verbose_name='开场白'),
|
||||
),
|
||||
]
|
||||
|
|
@ -42,7 +42,7 @@ class Application(AppModelMixin):
|
|||
id = models.UUIDField(primary_key=True, max_length=128, default=uuid.uuid1, editable=False, verbose_name="主键id")
|
||||
name = models.CharField(max_length=128, verbose_name="应用名称")
|
||||
desc = models.CharField(max_length=512, verbose_name="引用描述", default="")
|
||||
prologue = models.CharField(max_length=4096, verbose_name="开场白", default="")
|
||||
prologue = models.CharField(max_length=40960, verbose_name="开场白", default="")
|
||||
dialogue_number = models.IntegerField(default=0, verbose_name="会话数量")
|
||||
user = models.ForeignKey(User, on_delete=models.DO_NOTHING)
|
||||
model = models.ForeignKey(Model, on_delete=models.SET_NULL, db_constraint=False, blank=True, null=True)
|
||||
|
|
|
|||
Loading…
Reference in New Issue