@@ -106,4 +106,9 @@ export const conversationApi = {
|
||||
updateConversationSettings: (conversationId: number, settings: Record<string, any>) => {
|
||||
return apiClient.put(`/app/conversation/${conversationId}/settings`, { settings })
|
||||
},
|
||||
|
||||
// 重新生成最后一条 AI 回复(非流式)
|
||||
regenerateMessage: (conversationId: number) => {
|
||||
return apiClient.post<Message>(`/app/conversation/${conversationId}/regenerate`)
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user