We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43026e9 commit f5f5126Copy full SHA for f5f5126
packages/react-app/src/utils/dify-api.ts
@@ -478,7 +478,7 @@ export class DifyApi {
478
auto_generate?: boolean
479
}) => {
480
const { conversation_id, ...restParams } = params
481
- return this.baseRequest.post(`/conversations/${conversation_id}/name`, {
+ return this.baseRequest.post(`/conversation/${conversation_id}/name`, {
482
...restParams,
483
user: this.options.user,
484
})
@@ -488,7 +488,7 @@ export class DifyApi {
488
* 删除会话
489
*/
490
deleteConversation = (conversation_id: string) => {
491
- return this.baseRequest.delete(`/conversations/${conversation_id}`, {
+ return this.baseRequest.delete(`/conversation/${conversation_id}`, {
492
493
494
}
0 commit comments