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.
2 parents 0aa508d + 81c20c1 commit c8acda3Copy full SHA for c8acda3
packages/config-yaml/src/schemas/index.ts
@@ -1,7 +1,11 @@
1
import * as z from "zod";
2
import { commonModelSlugs } from "./commonSlugs.js";
3
import { dataSchema } from "./data/index.js";
4
-import { modelSchema, partialModelSchema } from "./models.js";
+import {
5
+ modelSchema,
6
+ partialModelSchema,
7
+ requestOptionsSchema,
8
+} from "./models.js";
9
10
export const contextSchema = z.object({
11
name: z.string().optional(),
@@ -19,6 +23,7 @@ const mcpServerSchema = z.object({
19
23
args: z.array(z.string()).optional(),
20
24
env: z.record(z.string()).optional(),
21
25
connectionTimeout: z.number().gt(0).optional(),
26
+ requestOptions: requestOptionsSchema.optional(),
22
27
});
28
29
export type MCPServer = z.infer<typeof mcpServerSchema>;
0 commit comments