"""add top_p and frequency_penalty to agente table

Revision ID: bd97ab8ba7db
Revises: 09304430a911
Create Date: 2025-06-06 16:17:55.575401

"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = 'bd97ab8ba7db'
down_revision = '09304430a911'
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    with op.batch_alter_table('agente', schema=None) as batch_op:
        batch_op.add_column(sa.Column('top_p', sa.Float(), nullable=True))
        batch_op.add_column(sa.Column('frequency_penalty', sa.Float(), nullable=True))

    # ### end Alembic commands ###


def downgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    with op.batch_alter_table('agente', schema=None) as batch_op:
        batch_op.drop_column('frequency_penalty')
        batch_op.drop_column('top_p')

    # ### end Alembic commands ###
