@tiledesk/tiledesk-server 2.24.1 → 2.24.2
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.
- package/CHANGELOG.md +3 -0
- package/package.json +1 -1
- package/routes/webhook.js +0 -9
- package/services/webhookService.js +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,9 @@
|
|
|
5
5
|
🚀 IN PRODUCTION 🚀
|
|
6
6
|
(https://www.npmjs.com/package/@tiledesk/tiledesk-server/v/2.3.77)
|
|
7
7
|
|
|
8
|
+
# 2.24.2
|
|
9
|
+
- Fixed bug recalling webhooks
|
|
10
|
+
|
|
8
11
|
# 2.24.1
|
|
9
12
|
- Added native MCP servers catalog and endpoints to list, connect and retrieve tools
|
|
10
13
|
- Added endpoint to save native and custom MCP servers in the project integration
|
package/package.json
CHANGED
package/routes/webhook.js
CHANGED
|
@@ -11,15 +11,6 @@ const errorCodes = require('../errorCodes');
|
|
|
11
11
|
const aiManager = require('../services/aiManager');
|
|
12
12
|
var ObjectId = require('mongoose').Types.ObjectId;
|
|
13
13
|
const default_embedding = require('../config/kb/embedding');
|
|
14
|
-
|
|
15
|
-
const port = process.env.PORT || '3000';
|
|
16
|
-
let TILEBOT_ENDPOINT = process.env.API_ENDPOINT ? process.env.API_ENDPOINT + "/modules/tilebot/ext/" : ("http://localhost:" + port + "/modules/tilebot/ext/");
|
|
17
|
-
|
|
18
|
-
if (process.env.TILEBOT_ENDPOINT) {
|
|
19
|
-
TILEBOT_ENDPOINT = process.env.TILEBOT_ENDPOINT + "/ext/";
|
|
20
|
-
}
|
|
21
|
-
winston.info("[RequestService] TILEBOT_ENDPOINT: " + TILEBOT_ENDPOINT);
|
|
22
|
-
|
|
23
14
|
const KB_WEBHOOK_TOKEN = process.env.KB_WEBHOOK_TOKEN || 'kbcustomtoken';
|
|
24
15
|
const AMQP_MANAGER_URL = process.env.AMQP_MANAGER_URL;
|
|
25
16
|
const JOB_TOPIC_EXCHANGE = process.env.JOB_TOPIC_EXCHANGE_TRAIN || 'tiledesk-trainer';
|
|
@@ -7,10 +7,10 @@ const errorCodes = require("../errorCodes");
|
|
|
7
7
|
var ObjectId = require('mongoose').Types.ObjectId;
|
|
8
8
|
|
|
9
9
|
const port = process.env.PORT || '3000';
|
|
10
|
-
let TILEBOT_ENDPOINT = process.env.API_ENDPOINT ? process.env.API_ENDPOINT + "/modules/tilebot/
|
|
10
|
+
let TILEBOT_ENDPOINT = process.env.API_ENDPOINT ? process.env.API_ENDPOINT + "/modules/tilebot/" : ("http://localhost:" + port + "/modules/tilebot/");
|
|
11
11
|
|
|
12
12
|
if (process.env.TILEBOT_ENDPOINT) {
|
|
13
|
-
TILEBOT_ENDPOINT = process.env.TILEBOT_ENDPOINT + "/
|
|
13
|
+
TILEBOT_ENDPOINT = process.env.TILEBOT_ENDPOINT + "/";
|
|
14
14
|
}
|
|
15
15
|
winston.info("[RequestService] TILEBOT_ENDPOINT: " + TILEBOT_ENDPOINT);
|
|
16
16
|
|