We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 373b08e commit 7281834Copy full SHA for 7281834
src/client.ts
@@ -12,7 +12,6 @@ import {
12
import type { StructuredToolInterface } from "@langchain/core/tools";
13
import debug from "debug";
14
import { z } from "zod";
15
-import Stream from "node:stream";
16
import { loadMcpTools, LoadMcpToolsOptions } from "./tools.js";
17
18
// Read package name from package.json
@@ -108,7 +107,6 @@ export function createStdioConnectionSchema() {
108
107
z.literal("pipe"),
109
z.literal("ignore"),
110
z.literal("inherit"),
111
- z.instanceof(Stream),
112
])
113
.describe(
114
"How to handle stderr of the child process. This matches the semantics of Node's `child_process.spawn`"
0 commit comments