feat: add shared_memory_md field and enforce character limit in search space updates

This commit is contained in:
Anish Sarkar 2026-04-08 23:37:23 +05:30
parent 6fc941e4c5
commit dec381d87e
3 changed files with 12 additions and 0 deletions

View file

@ -21,6 +21,7 @@ class SearchSpaceUpdate(BaseModel):
description: str | None = None
citations_enabled: bool | None = None
qna_custom_instructions: str | None = None
shared_memory_md: str | None = None
class SearchSpaceRead(SearchSpaceBase, IDModel, TimestampModel):
@ -29,6 +30,7 @@ class SearchSpaceRead(SearchSpaceBase, IDModel, TimestampModel):
user_id: uuid.UUID
citations_enabled: bool
qna_custom_instructions: str | None = None
shared_memory_md: str | None = None
model_config = ConfigDict(from_attributes=True)