Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
fixes
Sushmithamallesh committed
Dec 22, 2025 at 05:32 UTC
cfd2d55c50144da90bc53a87e81eaaa63e1f7936
7 files changed
+9
-9
fern/snippets/tool-router/typescript/mcp-claude.ts
+1
-1
@@ -70,4 +70,4 @@ while (true) {
70
process.stdout.write("\n");
71
}
72
73
-readline.close();
\ No newline at end of file
73
+readline.close();
fern/snippets/tool-router/typescript/mcp-openai.ts
+1
-1
@@ -62,4 +62,4 @@ while (true) {
62
console.error("\n[Error]:", error instanceof Error ? error.message : error);
63
}
64
}
65
-readline.close();
\ No newline at end of file
65
+readline.close();
fern/snippets/tool-router/typescript/mcp-vercel.ts
+1
-1
@@ -43,4 +43,4 @@ for await (const textPart of stream.textStream) {
43
}
44
45
console.log("\n\n---");
46
-console.log("Tip: If prompted to authenticate, complete the auth flow and run again.")
\ No newline at end of file
46
+console.log("Tip: If prompted to authenticate, complete the auth flow and run again.")
fern/snippets/tool-router/typescript/native-tools-openai.ts
+1
-1
@@ -59,4 +59,4 @@ while (true) {
59
console.error("\n[Error]:", error instanceof Error ? error.message : error);
60
}
61
}
62
-readline.close();
\ No newline at end of file
62
+readline.close();
fern/snippets/tool-router/typescript/native-tools-vercel.ts
+1
-1
@@ -35,4 +35,4 @@ for await (const textPart of stream.textStream) {
35
}
36
37
console.log("\n\n---");
38
-console.log("Tip: If prompted to authenticate, complete the auth flow and run again.");
\ No newline at end of file
38
+console.log("Tip: If prompted to authenticate, complete the auth flow and run again.");
fern/snippets/tool-router/typescript/quickstart-mcp-claude.ts
+1
-1
@@ -71,4 +71,4 @@ while (true) {
71
process.stdout.write("\n");
72
}
73
74
-readline.close();
\ No newline at end of file
74
+readline.close();
fern/snippets/tool-router/typescript/quickstart-native-openai.ts
+3
-3
@@ -43,10 +43,10 @@ while (true) {
43
process.stdout.write("Assistant: ");
44
45
try {
46
- const result = await run(agent, input, { session: memory });
47
- process.stdout.write(`${result.finalOutput}`);
46
+ const result = await run(agent, input, { session: memory });
47
+ process.stdout.write(`${result.finalOutput}`);
48
} catch (error) {
49
console.error("\n[Error]:", error instanceof Error ? error.message : error);
50
}
51
}
52
-readline.close();
\ No newline at end of file
52
+readline.close();