Use POST for suggested questions

This commit is contained in:
-LAN-
2025-09-27 02:54:57 +08:00
parent e0fb754e80
commit c9eabe1612
8 changed files with 221 additions and 6 deletions

View File

@ -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,
},