Добавление интеграции OpenRouter AI
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
# 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='Температура'
|
||||
),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user