We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0fb99e commit 105e8b5Copy full SHA for 105e8b5
packages/core/src/integrations/mcp-server/resultExtraction.ts
@@ -41,13 +41,7 @@ function buildAllContentItemAttributes(content: unknown[]): Record<string, strin
41
safeSet('name', item.name);
42
43
if (typeof item.text === 'string') {
44
- const text = item.text;
45
- const maxLength = 500;
46
- if (text.length > maxLength) {
47
- attributes[`${prefix}.content`] = `${text.slice(0, maxLength - 3)}...`;
48
- } else {
49
- attributes[`${prefix}.content`] = text;
50
- }
+ attributes[`${prefix}.content`] = item.text;
51
}
52
53
if (typeof item.data === 'string') {
0 commit comments