fix minimax init error (#1537)

### What problem does this PR solve?


### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
Kevin Hu
2024-07-16 16:55:31 +08:00
committed by GitHub
parent 99adeabc85
commit a5306e6345
2 changed files with 6 additions and 4 deletions

View File

@ -573,6 +573,7 @@ def completion_faq():
response = MINIO.get(bkt, nm)
data_type_picture["url"] = base64.b64encode(response).decode('utf-8')
data.append(data_type_picture)
break
except Exception as e:
return server_error_response(e)