mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: Chat log add to knowledge error
This commit is contained in:
parent
d8ab952a87
commit
c3c53c1998
|
|
@ -128,7 +128,7 @@ class ApplicationChatRecordAddKnowledge(APIView):
|
|||
CompareConstants.AND),
|
||||
RoleConstants.WORKSPACE_MANAGE.get_workspace_role())
|
||||
def post(self, request: Request, workspace_id: str, application_id: str):
|
||||
return result.success(ApplicationChatRecordAddKnowledgeSerializer().post_improve(
|
||||
return result.success(ApplicationChatRecordAddKnowledgeSerializer(data = {'workspace_id': workspace_id, 'application_id': application_id, **request.data}).post_improve(
|
||||
{'workspace_id': workspace_id, 'application_id': application_id, **request.data}, request=request))
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue