feat: add AI descriptions and platform submission checks

This commit is contained in:
yuxuanhui
2026-09-09 20:24:47 +08:00
parent 6b4990f100
commit 53b01eb770
16 changed files with 1007 additions and 4 deletions
+1
View File
@@ -157,6 +157,7 @@ class AISettings(Base):
base_url: Mapped[str] = mapped_column(Text, default="")
api_key_encrypted: Mapped[str | None] = mapped_column(Text)
model: Mapped[str] = mapped_column(String(200), default="")
description_model: Mapped[str] = mapped_column(String(200), default="", server_default="")
protocol: Mapped[str] = mapped_column(String(30), default="chat_completions")
enabled: Mapped[bool] = mapped_column(Boolean, default=False)
revision: Mapped[int] = mapped_column(Integer, default=1)