@cloudbase/cloudbase-mcp 1.8.6 → 1.8.7
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/dist/cli.cjs +1 -1
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +1 -1
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5377,7 +5377,7 @@ function registerRagTools(server) {
|
|
|
5377
5377
|
if (result.code) {
|
|
5378
5378
|
throw new Error(result.message);
|
|
5379
5379
|
}
|
|
5380
|
-
const filteredResults = result.data.filter((item) => item.score >= threshold);
|
|
5380
|
+
const filteredResults = result.data.documents.filter((item) => item.score >= threshold);
|
|
5381
5381
|
return {
|
|
5382
5382
|
content: [
|
|
5383
5383
|
{
|