@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.cjs
CHANGED
|
@@ -5416,7 +5416,7 @@ function registerRagTools(server) {
|
|
|
5416
5416
|
if (result.code) {
|
|
5417
5417
|
throw new Error(result.message);
|
|
5418
5418
|
}
|
|
5419
|
-
const filteredResults = result.data.filter((item) => item.score >= threshold);
|
|
5419
|
+
const filteredResults = result.data.documents.filter((item) => item.score >= threshold);
|
|
5420
5420
|
return {
|
|
5421
5421
|
content: [
|
|
5422
5422
|
{
|