Skip to content

Commit dc6843e

Browse files
committed
simplify the example
1 parent df4fdfe commit dc6843e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/mcp/streamable-http-example.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ async function main() {
1818
agent,
1919
'Which language is this repo written in?',
2020
);
21-
console.log(result.finalOutput ?? result.output ?? result);
21+
console.log(result.finalOutput);
2222
});
2323
} finally {
2424
await mcpServer.close();

0 commit comments

Comments
 (0)