fix: = → == syntax error in upload_file.dspy
This commit is contained in:
parent
146143002f
commit
f1f6cc5726
@ -1,5 +1,5 @@
|
||||
fmgr = FileMgr()
|
||||
stat = await fmgr.add_file(request, params_kw)
|
||||
if stat.status='success':
|
||||
if stat.status == 'success':
|
||||
return UiMessage(title='Add file', message='file add success')
|
||||
return UiError(title='Add file', message='file add failed')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user