mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-05-25 02:16:58 +08:00
Fix: some agent bug (#14829)
### What problem does this PR solve? fix: update null checks to use 'is None' for better clarity replace RAGFlowSelect with SelectWithSearch in DebugContent add max height and overflow to DialogContent in ParameterDialog remove unused types from DataOperationsForm ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@ -105,7 +105,7 @@ class StringTransform(Message, ABC):
|
||||
pass
|
||||
|
||||
for k,v in kwargs.items():
|
||||
if not v:
|
||||
if v is None:
|
||||
v = ""
|
||||
script = re.sub(k, lambda match: v, script)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user