chore(api/core/app/segments/segments.py): Remove todo tags. (#7052)

This commit is contained in:
-LAN-
2024-08-07 17:29:35 +08:00
committed by GitHub
parent 80c94f02e9
commit 4e8f6b3603

View File

@@ -89,17 +89,14 @@ class ObjectSegment(Segment):
@property
def text(self) -> str:
# TODO: Process variables.
return json.dumps(self.model_dump()['value'], ensure_ascii=False)
@property
def log(self) -> str:
# TODO: Process variables.
return json.dumps(self.model_dump()['value'], ensure_ascii=False, indent=2)
@property
def markdown(self) -> str:
# TODO: Use markdown code block
return json.dumps(self.model_dump()['value'], ensure_ascii=False, indent=2)