merge this (#4759)
* wait I forgot to comit locally * cp the entire core directory and then rm the .git subdir
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
"""add metrics to agent loop runs
|
||||
|
||||
Revision ID: 05c3bc564286
|
||||
Revises: d007f4ca66bf
|
||||
Create Date: 2025-08-06 14:30:48.255538
|
||||
|
||||
"""
|
||||
|
||||
from typing import Sequence, Union
|
||||
|
||||
import sqlalchemy as sa
|
||||
|
||||
from alembic import op
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
revision: str = "05c3bc564286"
|
||||
down_revision: Union[str, None] = "d007f4ca66bf"
|
||||
branch_labels: Union[str, Sequence[str], None] = None
|
||||
depends_on: Union[str, Sequence[str], None] = None
|
||||
|
||||
|
||||
def upgrade() -> None:
|
||||
# ### commands auto generated by Alembic - please adjust! ###
|
||||
op.add_column("jobs", sa.Column("ttft_ns", sa.BigInteger(), nullable=True))
|
||||
op.add_column("jobs", sa.Column("total_duration_ns", sa.BigInteger(), nullable=True))
|
||||
# ### end Alembic commands ###
|
||||
|
||||
|
||||
def downgrade() -> None:
|
||||
# ### commands auto generated by Alembic - please adjust! ###
|
||||
op.drop_column("jobs", "total_duration_ns")
|
||||
op.drop_column("jobs", "ttft_ns")
|
||||
# ### end Alembic commands ###
|
||||
Reference in New Issue
Block a user