Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

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

-LAN-4e8f6b360374
diff --git a/api/core/app/segments/segments.py b/api/core/app/segments/segments.py
index 077d606ad46..0001c5300fe 100644
--- a/api/core/app/segments/segments.py
+++ b/api/core/app/segments/segments.py
@@ -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)