feat: upgrade langchain (#430)

Co-authored-by: jyong <718720800@qq.com>
This commit is contained in:
John Wang 2023-06-25 16:49:14 +08:00 • committed by GitHub
commit 3241e4015b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
91 changed files with 2703 additions and 3153 deletions

View file

@ -32,8 +32,13 @@ class VersionApi(Resource):
'current_version': args.get('current_version')
})
except Exception as error:
logging.exception("Check update error.")
raise InternalServerError()
logging.warning("Check update version error: {}.".format(str(error)))
return {
'version': args.get('current_version'),
'release_date': '',
'release_notes': '',
'can_auto_update': False
}
content = json.loads(response.content)
return {