mirror of
https://github.com/langgenius/dify.git
synced 2026-05-04 09:28:04 +08:00
Use POST for more-like-this flow
This commit is contained in:
@ -251,8 +251,8 @@ export const updateFeedback = async ({ url, body }: { url: string; body: Feedbac
|
||||
}
|
||||
|
||||
export const fetchMoreLikeThis = async (messageId: string, isInstalledApp: boolean, installedAppId = '') => {
|
||||
return (getAction('get', isInstalledApp))(getUrl(`/messages/${messageId}/more-like-this`, isInstalledApp, installedAppId), {
|
||||
params: {
|
||||
return (getAction('post', isInstalledApp))(getUrl(`/messages/${messageId}/more-like-this`, isInstalledApp, installedAppId), {
|
||||
body: {
|
||||
response_mode: 'blocking',
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user