diff --git a/ui/src/api/dataset.ts b/ui/src/api/dataset.ts index 1d6b92d1..a95395b4 100644 --- a/ui/src/api/dataset.ts +++ b/ui/src/api/dataset.ts @@ -157,7 +157,7 @@ const putSyncWebDateset: ( sync_type: string, loading?: Ref ) => Promise> = (dataset_id, sync_type, loading) => { - return put(`${prefix}/${dataset_id}/sync_web`, { sync_type }, loading) + return put(`${prefix}/${dataset_id}/sync_web`, undefined, { sync_type }, loading) } export default { diff --git a/ui/src/components/ai-chat/index.vue b/ui/src/components/ai-chat/index.vue index f86700b5..d422285c 100644 --- a/ui/src/components/ai-chat/index.vue +++ b/ui/src/components/ai-chat/index.vue @@ -29,29 +29,7 @@ :modelValue="item" /> - - -