From 1a65e664988f72cb6da789cefffef2ecc0c2bde3 Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Sun, 4 Jan 2026 14:13:24 +0000 Subject: [PATCH] [autofix.ci] apply automated fixes --- api/models/model.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/api/models/model.py b/api/models/model.py index 8c7dbd721e..81900dc8a4 100644 --- a/api/models/model.py +++ b/api/models/model.py @@ -1865,7 +1865,9 @@ class MessageAgentThought(TypeBase): answer: Mapped[str | None] = mapped_column(LongText, nullable=True) answer_token: Mapped[int | None] = mapped_column(sa.Integer, nullable=True) answer_unit_price: Mapped[Decimal | None] = mapped_column(sa.Numeric, nullable=True) - answer_price_unit: Mapped[Decimal] = mapped_column(sa.Numeric(10, 7), nullable=False, server_default=sa.text("0.001")) + answer_price_unit: Mapped[Decimal] = mapped_column( + sa.Numeric(10, 7), nullable=False, server_default=sa.text("0.001") + ) tokens: Mapped[int | None] = mapped_column(sa.Integer, nullable=True) total_price: Mapped[Decimal | None] = mapped_column(sa.Numeric, nullable=True) currency: Mapped[str | None] = mapped_column(String(255), nullable=True)