mirror of
https://github.com/langgenius/dify.git
synced 2026-05-03 08:58:09 +08:00
minor code fix: remove duplicate type check branch (#22536)
This commit is contained in:
@ -91,8 +91,6 @@ class SegmentType(StrEnum):
|
||||
return SegmentType.OBJECT
|
||||
elif isinstance(value, File):
|
||||
return SegmentType.FILE
|
||||
elif isinstance(value, str):
|
||||
return SegmentType.STRING
|
||||
else:
|
||||
return None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user