mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-12 16:38:58 +08:00
chore(api/core/app/segments/segments.py): Remove todo tags. (#7052)
This commit is contained in:
parent
80c94f02e9
commit
4e8f6b3603
@ -89,17 +89,14 @@ class ObjectSegment(Segment):
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def text(self) -> str:
|
def text(self) -> str:
|
||||||
# TODO: Process variables.
|
|
||||||
return json.dumps(self.model_dump()['value'], ensure_ascii=False)
|
return json.dumps(self.model_dump()['value'], ensure_ascii=False)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def log(self) -> str:
|
def log(self) -> str:
|
||||||
# TODO: Process variables.
|
|
||||||
return json.dumps(self.model_dump()['value'], ensure_ascii=False, indent=2)
|
return json.dumps(self.model_dump()['value'], ensure_ascii=False, indent=2)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def markdown(self) -> str:
|
def markdown(self) -> str:
|
||||||
# TODO: Use markdown code block
|
|
||||||
return json.dumps(self.model_dump()['value'], ensure_ascii=False, indent=2)
|
return json.dumps(self.model_dump()['value'], ensure_ascii=False, indent=2)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user