mirror of
https://github.com/langgenius/dify.git
synced 2026-04-01 03:19:42 +08:00
refactor: give VersionedMemoryValue a default value
This commit is contained in:
parent
9e0630f012
commit
613d086f1e
@ -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)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user