We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88840be commit 459057eCopy full SHA for 459057e
backend/apps/system/models/system_model.py
@@ -14,8 +14,8 @@ class AiModelBase:
14
15
class AiModelDetail(SnowflakeBase, AiModelBase, table=True):
16
__tablename__ = "ai_model"
17
- api_key: str | None = Field(max_length=255, nullable=True)
18
- api_domain: str = Field(max_length=255, nullable=False)
+ api_key: str | None = Field(nullable=True)
+ api_domain: str = Field(nullable=False)
19
protocol: int = Field(nullable=False, default = 1)
20
config: str = Field(sa_type = Text())
21
status: int = Field(nullable=False, default = 1)
0 commit comments