@prodi-labs/schemas
Advanced tools
Comparing version
@@ -83,3 +83,3 @@ import { z } from "zod"; | ||
systemInstructions: z.ZodString; | ||
context: z.ZodOptional<z.ZodObject<{ | ||
context: z.ZodObject<{ | ||
fewShotExamples: z.ZodObject<{ | ||
@@ -126,7 +126,7 @@ instruction: z.ZodString; | ||
}; | ||
}>>; | ||
}>; | ||
}, "strip", z.ZodTypeAny, { | ||
name: string; | ||
systemInstructions: string; | ||
context?: { | ||
context: { | ||
fewShotExamples: { | ||
@@ -139,7 +139,7 @@ instruction: string; | ||
}; | ||
} | undefined; | ||
}; | ||
}, { | ||
name: string; | ||
systemInstructions: string; | ||
context?: { | ||
context: { | ||
fewShotExamples: { | ||
@@ -152,3 +152,3 @@ instruction: string; | ||
}; | ||
} | undefined; | ||
}; | ||
}>; | ||
@@ -158,3 +158,3 @@ export declare const agentSchema: z.ZodObject<{ | ||
systemInstructions: z.ZodString; | ||
context: z.ZodOptional<z.ZodObject<{ | ||
context: z.ZodObject<{ | ||
fewShotExamples: z.ZodObject<{ | ||
@@ -201,3 +201,3 @@ instruction: z.ZodString; | ||
}; | ||
}>>; | ||
}>; | ||
} & { | ||
@@ -209,3 +209,3 @@ id: z.ZodString; | ||
systemInstructions: string; | ||
context?: { | ||
context: { | ||
fewShotExamples: { | ||
@@ -218,3 +218,3 @@ instruction: string; | ||
}; | ||
} | undefined; | ||
}; | ||
}, { | ||
@@ -224,3 +224,3 @@ name: string; | ||
systemInstructions: string; | ||
context?: { | ||
context: { | ||
fewShotExamples: { | ||
@@ -233,3 +233,3 @@ instruction: string; | ||
}; | ||
} | undefined; | ||
}; | ||
}>; | ||
@@ -239,3 +239,3 @@ export declare const agentsListSchema: z.ZodArray<z.ZodObject<{ | ||
systemInstructions: z.ZodString; | ||
context: z.ZodOptional<z.ZodObject<{ | ||
context: z.ZodObject<{ | ||
fewShotExamples: z.ZodObject<{ | ||
@@ -282,3 +282,3 @@ instruction: z.ZodString; | ||
}; | ||
}>>; | ||
}>; | ||
} & { | ||
@@ -290,3 +290,3 @@ id: z.ZodString; | ||
systemInstructions: string; | ||
context?: { | ||
context: { | ||
fewShotExamples: { | ||
@@ -299,3 +299,3 @@ instruction: string; | ||
}; | ||
} | undefined; | ||
}; | ||
}, { | ||
@@ -305,3 +305,3 @@ name: string; | ||
systemInstructions: string; | ||
context?: { | ||
context: { | ||
fewShotExamples: { | ||
@@ -314,3 +314,3 @@ instruction: string; | ||
}; | ||
} | undefined; | ||
}; | ||
}>, "many">; | ||
@@ -317,0 +317,0 @@ export type FewShotExamples = z.infer<typeof fewShotExamplesSchema>; |
@@ -24,3 +24,3 @@ import { z } from "zod"; | ||
.describe("System instructions for the agent"), | ||
context: agentContextSchema.optional().describe("Optional agent context"), | ||
context: agentContextSchema.describe("Agent context"), | ||
}); | ||
@@ -27,0 +27,0 @@ export const agentSchema = agentRecordSchema.extend({ |
{ | ||
"name": "@prodi-labs/schemas", | ||
"version": "1.0.50", | ||
"version": "1.0.51", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
87251
-0.16%