"""
Add 'bedrock' to LLMApi.api_type choices.

Django migrations track field changes including choices — this migration
updates the api_type field to include the new Amazon Bedrock option.
"""

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ("llm_manager", "0001_initial"),
    ]

    operations = [
        migrations.AlterField(
            model_name="llmapi",
            name="api_type",
            field=models.CharField(
                choices=[
                    ("openai", "OpenAI Compatible"),
                    ("azure", "Azure OpenAI"),
                    ("ollama", "Ollama"),
                    ("anthropic", "Anthropic"),
                    ("llama-cpp", "Llama.cpp"),
                    ("vllm", "vLLM"),
                    ("bedrock", "Amazon Bedrock"),
                ],
                max_length=20,
            ),
        ),
    ]
