fix: Child application node, input parameters too long, error reported during Q&A (#2347)

This commit is contained in:
shaohuzhang1 2025-02-21 10:28:02 +08:00 committed by GitHub
parent f5155e7f7e
commit bb557fd187
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -174,7 +174,7 @@ class BaseApplicationNode(IApplicationNode):
current_chat_id = string_to_uuid(chat_id + application_id)
Chat.objects.get_or_create(id=current_chat_id, defaults={
'application_id': application_id,
'abstract': message
'abstract': message[0:1024]
})
if app_document_list is None:
app_document_list = []