# Generated by Django 4.2.30 on 2026-07-20 05:25

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('tianxuan_analysis', '0005_remove_entity_column'),
    ]

    operations = [
        migrations.AddField(
            model_name='analysisrun',
            name='display_id',
            field=models.IntegerField(blank=True, help_text='User-facing numeric ID (recycles gaps)', null=True, unique=True),
        ),
        migrations.AddField(
            model_name='analysisrun',
            name='llm_thinking',
            field=models.TextField(blank=True, default='', help_text='Accumulated LLM reasoning / thinking text'),
        ),
        migrations.AddField(
            model_name='analysisrun',
            name='run_type',
            field=models.CharField(choices=[('upload', '手动上传'), ('manual', '手动分析'), ('auto', 'LLM自动')], default='upload', max_length=16),
        ),
        migrations.AddField(
            model_name='analysisrun',
            name='tool_calls_json',
            field=models.JSONField(blank=True, default=list, help_text='Structured tool call list: [{step, name, input, output}, ...]'),
        ),
    ]
