forked from 1Panel-dev/MaxKB
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: 修复问题字符超过256无法存储对话日志 1Panel-dev#305 (1Panel-dev#311)
- Loading branch information
1 parent
cd472b4
commit c4c4934
Showing
3 changed files
with
26 additions
and
3 deletions.
There are no files selected for viewing
23 changes: 23 additions & 0 deletions
23
apps/application/migrations/0005_alter_chat_abstract_alter_chatrecord_answer_text.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Generated by Django 4.1.13 on 2024-04-29 13:33 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('application', '0004_applicationaccesstoken_show_source'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='chat', | ||
name='abstract', | ||
field=models.CharField(max_length=1024, verbose_name='摘要'), | ||
), | ||
migrations.AlterField( | ||
model_name='chatrecord', | ||
name='answer_text', | ||
field=models.CharField(max_length=40960, verbose_name='答案'), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters