⚡️(dify) Include empty files require field
Required files variable to be sent even if empty in DifyAI v5.x+ <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Refactor** - Enhanced chat message creation to support future file attachments. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
committed by
GitHub
parent
94c3e90fa3
commit
1b2876daef
@ -59,6 +59,7 @@ export const createChatMessage = createAction({
|
||||
response_mode: 'blocking',
|
||||
conversation_id,
|
||||
user,
|
||||
files: []
|
||||
},
|
||||
})
|
||||
.json()
|
||||
|
Reference in New Issue
Block a user