mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-27 19:25:15 +02:00
19 lines
404 B
Python
19 lines
404 B
Python
"""Schemas for memory API responses and structured extraction."""
|
|
|
|
from __future__ import annotations
|
|
|
|
from pydantic import BaseModel
|
|
|
|
|
|
class MemoryLimits(BaseModel):
|
|
"""Canonical memory size limits exposed to clients."""
|
|
|
|
soft: int
|
|
hard: int
|
|
|
|
|
|
class MemoryRead(BaseModel):
|
|
"""Memory document payload returned by user and team memory APIs."""
|
|
|
|
memory_md: str
|
|
limits: MemoryLimits
|