change timeout to connectionTimeout in yaml
This commit is contained in:
parent
520c783fd6
commit
00ae0a078a
3 changed files with 4 additions and 4 deletions
|
|
@ -72,7 +72,7 @@ function convertYamlMcpToContinueMcp(
|
|||
args: server.args ?? [],
|
||||
env: server.env,
|
||||
},
|
||||
timeout: server.timeout
|
||||
timeout: server.connectionTimeout
|
||||
};
|
||||
}
|
||||
|
||||
|
|
@ -445,7 +445,7 @@ async function configYamlToContinueConfig(options: {
|
|||
args: [],
|
||||
...server,
|
||||
},
|
||||
timeout: server.timeout
|
||||
timeout: server.connectionTimeout
|
||||
})),
|
||||
false,
|
||||
);
|
||||
|
|
|
|||
|
|
@ -380,7 +380,7 @@ prompts, context, and tool use. Continue supports any MCP server with the MCP co
|
|||
- `command` (**required**): The command used to start the server.
|
||||
- `args`: An optional array of arguments for the command.
|
||||
- `env`: An optional map of environment variables for the server process.
|
||||
- `timeout`: An optional connection timeout number to the server in milliseconds.
|
||||
- `connectionTimeout`: An optional connection timeout number to the server in milliseconds.
|
||||
|
||||
**Example:**
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ const mcpServerSchema = z.object({
|
|||
faviconUrl: z.string().optional(),
|
||||
args: z.array(z.string()).optional(),
|
||||
env: z.record(z.string()).optional(),
|
||||
timeout: z.number().gt(0).optional()
|
||||
connectionTimeout: z.number().gt(0).optional()
|
||||
});
|
||||
|
||||
export type MCPServer = z.infer<typeof mcpServerSchema>;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue