mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-10 03:16:51 +08:00
fix(segments): return empty string instead of "null" for text, log, and markdown properties (#9651)
This commit is contained in:
@@ -56,15 +56,15 @@ class NoneSegment(Segment):
|
||||
|
||||
@property
|
||||
def text(self) -> str:
|
||||
return "null"
|
||||
return ""
|
||||
|
||||
@property
|
||||
def log(self) -> str:
|
||||
return "null"
|
||||
return ""
|
||||
|
||||
@property
|
||||
def markdown(self) -> str:
|
||||
return "null"
|
||||
return ""
|
||||
|
||||
|
||||
class StringSegment(Segment):
|
||||
|
||||
Reference in New Issue
Block a user