You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
921 B
28 lines
921 B
# Generated by Django 4.2.27 on 2026-02-14 15:49
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
initial = True
|
|
|
|
dependencies = [
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='AgentSettings',
|
|
fields=[
|
|
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('system_prompt', models.TextField(default='You are a helpful assistant.')),
|
|
('model_id', models.CharField(default='deepseek/deepseek-r1', max_length=50)),
|
|
('temperature', models.FloatField(default=0.3)),
|
|
('is_maintenance_mode', models.BooleanField(default=False)),
|
|
],
|
|
options={
|
|
'verbose_name': 'Agent Configuration',
|
|
'verbose_name_plural': 'Agent Configuration',
|
|
},
|
|
),
|
|
]
|