mirror of
https://github.com/langgenius/dify.git
synced 2026-05-06 02:18:08 +08:00
Use POST for suggested questions
This commit is contained in:
@ -61,9 +61,11 @@ export const sendCompletionMessage = async (appId: string, body: Record<string,
|
||||
}
|
||||
|
||||
export const fetchSuggestedQuestions = (appId: string, messageId: string, getAbortController?: any) => {
|
||||
return get(
|
||||
return post(
|
||||
`apps/${appId}/chat-messages/${messageId}/suggested-questions`,
|
||||
{},
|
||||
{
|
||||
body: {},
|
||||
},
|
||||
{
|
||||
getAbortController,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user