Files
octopus/myproject/integrations/migrations/0008_openrouter_temperature_choices.py

33 lines
1.1 KiB
Python

# Generated migration for OpenRouter temperature choices
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('integrations', '0007_openrouter'),
]
operations = [
migrations.AlterField(
model_name='openrouterintegration',
name='temperature',
field=models.FloatField(
default=0.7,
choices=[
(0.1, '0.1 - Очень консервативно'),
(0.3, '0.3 - Консервативно'),
(0.5, '0.5 - Умеренно'),
(0.7, '0.7 - Баланс (по умолчанию)'),
(1.0, '1.0 - Креативно'),
(1.5, '1.5 - Очень креативно'),
(2.0, '2.0 - Максимальная креативность'),
],
help_text='Параметр температуры для генерации (0.0-2.0)',
validators=[],
verbose_name='Температура'
),
),
]