@tiger16601/n8n-nodes-fastgpt 1.1.11 → 1.1.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -43,7 +43,7 @@ exports.chatOperations = [
43
43
  request: {
44
44
  method: "POST",
45
45
  // NEW: Agent对话端点
46
- url: "/api/v1/chat/completions",
46
+ url: "/v1/chat/completions",
47
47
  body: {
48
48
  stream: false,
49
49
  },
@@ -64,7 +64,7 @@ exports.chatOperations = [
64
64
  request: {
65
65
  method: "POST",
66
66
  // NEW: 交互节点继续运行端点
67
- url: "/api/v1/chat/completions",
67
+ url: "/v1/chat/completions",
68
68
  body: {
69
69
  stream: true,
70
70
  detail: true,
@@ -102,7 +102,7 @@ exports.chatOperations = [
102
102
  request: {
103
103
  method: "PUT",
104
104
  // NEW: 修改历史记录标题端点
105
- url: "/api/core/chat/history/updateHistory",
105
+ url: "/core/chat/history/updateHistory",
106
106
  },
107
107
  output: {
108
108
  postReceive: [GenericFunctions_1.sendErrorPostReceive],
@@ -119,7 +119,7 @@ exports.chatOperations = [
119
119
  request: {
120
120
  method: "PUT",
121
121
  // NEW: 修改历史记录置顶状态端点(与修改标题共用端点)
122
- url: "/api/core/chat/history/updateHistory",
122
+ url: "/core/chat/history/updateHistory",
123
123
  },
124
124
  output: {
125
125
  postReceive: [GenericFunctions_1.sendErrorPostReceive],
@@ -136,7 +136,7 @@ exports.chatOperations = [
136
136
  request: {
137
137
  method: "DELETE",
138
138
  // NEW: 删除单个历史记录端点
139
- url: "/api/core/chat/history/delHistory",
139
+ url: "/core/chat/history/delHistory",
140
140
  },
141
141
  output: {
142
142
  postReceive: [GenericFunctions_1.sendErrorPostReceive],
@@ -153,7 +153,7 @@ exports.chatOperations = [
153
153
  request: {
154
154
  method: "DELETE",
155
155
  // NEW: 清空应用历史记录端点
156
- url: "/api/core/chat/history/clearHistories",
156
+ url: "/core/chat/history/clearHistories",
157
157
  },
158
158
  output: {
159
159
  postReceive: [GenericFunctions_1.sendErrorPostReceive],
@@ -171,7 +171,7 @@ exports.chatOperations = [
171
171
  request: {
172
172
  method: "GET",
173
173
  // NEW: 获取会话框基本信息端点
174
- url: "/api/core/chat/init",
174
+ url: "/core/chat/init",
175
175
  },
176
176
  output: {
177
177
  postReceive: [GenericFunctions_1.sendErrorPostReceive],
@@ -189,7 +189,7 @@ exports.chatOperations = [
189
189
  request: {
190
190
  method: "POST",
191
191
  // NEW: 获取对话记录列表端点
192
- url: "/api/core/chat/getPaginationRecords",
192
+ url: "/core/chat/getPaginationRecords",
193
193
  },
194
194
  output: {
195
195
  postReceive: [GenericFunctions_1.sendErrorPostReceive],
@@ -207,7 +207,7 @@ exports.chatOperations = [
207
207
  request: {
208
208
  method: "GET",
209
209
  // NEW: 获取单个对话记录运行详情端点
210
- url: "/api/core/chat/getResData",
210
+ url: "/core/chat/getResData",
211
211
  },
212
212
  output: {
213
213
  postReceive: [GenericFunctions_1.sendErrorPostReceive],
@@ -224,7 +224,7 @@ exports.chatOperations = [
224
224
  request: {
225
225
  method: "DELETE",
226
226
  // NEW: 删除对话记录端点
227
- url: "/api/core/chat/record/delete",
227
+ url: "/core/chat/record/delete",
228
228
  },
229
229
  output: {
230
230
  postReceive: [GenericFunctions_1.sendErrorPostReceive],
@@ -242,7 +242,7 @@ exports.chatOperations = [
242
242
  request: {
243
243
  method: "POST",
244
244
  // NEW: 点赞/取消点赞端点
245
- url: "/api/core/chat/feedback/updateUserFeedback",
245
+ url: "/core/chat/feedback/updateUserFeedback",
246
246
  },
247
247
  output: {
248
248
  postReceive: [GenericFunctions_1.sendErrorPostReceive],
@@ -260,7 +260,7 @@ exports.chatOperations = [
260
260
  request: {
261
261
  method: "POST",
262
262
  // NEW: 点踩/取消点踩端点(与点赞共用端点)
263
- url: "/api/core/chat/feedback/updateUserFeedback",
263
+ url: "/core/chat/feedback/updateUserFeedback",
264
264
  },
265
265
  output: {
266
266
  postReceive: [GenericFunctions_1.sendErrorPostReceive],
@@ -278,7 +278,7 @@ exports.chatOperations = [
278
278
  request: {
279
279
  method: "POST",
280
280
  // NEW: 猜你想问端点
281
- url: "/api/core/ai/agent/v2/createQuestionGuide",
281
+ url: "/core/ai/agent/v2/createQuestionGuide",
282
282
  },
283
283
  output: {
284
284
  postReceive: [GenericFunctions_1.sendErrorPostReceive],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tiger16601/n8n-nodes-fastgpt",
3
- "version": "1.1.11",
3
+ "version": "1.1.12",
4
4
  "description": "Fastgpt智能问答",
5
5
  "keywords": [
6
6
  "n8n-community-node-package",