@opennous/mcp 0.30.1 → 0.30.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/package.json +1 -1
- package/src/server.js +1 -0
package/package.json
CHANGED
package/src/server.js
CHANGED
|
@@ -416,6 +416,7 @@ export function createServer() {
|
|
|
416
416
|
for (const it of r.items ?? []) {
|
|
417
417
|
if (r.corpus === "facts") {
|
|
418
418
|
lines.push(` ${it.entity_name ?? it.entity_id} [${it.category}] ${it.content}` +
|
|
419
|
+
(it.date ? ` [${relAge(it.date)}]` : "") +
|
|
419
420
|
(it.similarity != null ? ` (${it.similarity})` : ""));
|
|
420
421
|
} else if (r.return === "entities") {
|
|
421
422
|
lines.push(` ${it.entity_name ?? it.entity_id} ` +
|