refactor: give VersionedMemoryValue a default value

This commit is contained in:
Stream 2025-09-15 15:38:20 +08:00
parent 9e0630f012
commit 613d086f1e
No known key found for this signature in database
GPG Key ID: 033728094B100D70
1 changed files with 2 additions and 2 deletions

View File

@ -203,8 +203,8 @@ class ArrayFileSegment(ArraySegment):
return ""
class VersionedMemoryValue(BaseModel):
current_value: str
versions: Mapping[str, str]
current_value: str = None # type: ignore
versions: Mapping[str, str] = dict()
model_config = ConfigDict(frozen=True)