mirror of
https://github.com/Skyvern-AI/skyvern.git
synced 2026-07-09 16:09:13 +00:00
SKY-9453 fix copilot reword-turn handling: test run, labels, goal wrap (#5791)
Co-authored-by: Shuchang Zheng <wintonzheng0325@gmail.com>
This commit is contained in:
parent
f5535c93de
commit
048dca71d1
14 changed files with 1158 additions and 22 deletions
|
|
@ -0,0 +1,33 @@
|
|||
"""credits_used & cached_credits_used
|
||||
|
||||
Revision ID: b19685399f97
|
||||
Revises: 696a7bba1ce6
|
||||
Create Date: 2026-05-04 23:20:09.907428+00:00
|
||||
|
||||
"""
|
||||
|
||||
from typing import Sequence, Union
|
||||
|
||||
import sqlalchemy as sa
|
||||
|
||||
from alembic import op
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
revision: str = "b19685399f97"
|
||||
down_revision: Union[str, None] = "696a7bba1ce6"
|
||||
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("workflow_runs", sa.Column("credits_used", sa.Integer(), server_default="0", nullable=True))
|
||||
op.add_column("workflow_runs", sa.Column("cached_credits_used", sa.Integer(), server_default="0", nullable=True))
|
||||
# ### end Alembic commands ###
|
||||
|
||||
|
||||
def downgrade() -> None:
|
||||
# ### commands auto generated by Alembic - please adjust! ###
|
||||
op.drop_column("workflow_runs", "cached_credits_used")
|
||||
op.drop_column("workflow_runs", "credits_used")
|
||||
# ### end Alembic commands ###
|
||||
Loading…
Add table
Add a link
Reference in a new issue