Fix: Chat/Agent embedded page (#13199)

### What problem does this PR solve?

Fix: Chat/Agent embedded page #13190

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
Magicbook1108
2026-02-24 19:14:24 +08:00
committed by GitHub
parent d89ad8b79d
commit 46dec98f52
5 changed files with 20 additions and 13 deletions

View File

@ -111,7 +111,7 @@ async def get():
def getsse(dialog_id):
token = request.headers.get("Authorization").split()
if len(token) != 2:
return get_data_error_result(message='Authorization is not valid!"')
return get_data_error_result(message='Authorization is not valid!')
token = token[1]
objs = APIToken.query(beta=token)
if not objs: