mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-09-16 14:57:15 +00:00
feat(models): sort catalog by listing date availability and price
This commit is contained in:
@@ -45,6 +45,7 @@ class SpaceModel(pydantic.BaseModel):
|
||||
is_featured: bool = False
|
||||
featured_order: int = 0
|
||||
status: str
|
||||
listed_at: str | None = None
|
||||
created_at: str | None = None
|
||||
updated_at: str | None = None
|
||||
|
||||
@@ -64,6 +65,7 @@ class SpaceModelSelection(pydantic.BaseModel):
|
||||
uuid: str
|
||||
model_id: str
|
||||
category: str | None = None
|
||||
listed_at: str | None = None
|
||||
input_credits: float | None = None
|
||||
output_credits: float | None = None
|
||||
availability: SpaceModelAvailability = pydantic.Field(default_factory=SpaceModelAvailability)
|
||||
|
||||
Reference in New Issue
Block a user