wip
This commit is contained in:
@@ -286,6 +286,9 @@ export namespace MessageV2 {
|
||||
sessionID: z.string(),
|
||||
})
|
||||
|
||||
export const Thinking = z.object({ effort: z.enum(["low", "medium", "high"]) })
|
||||
export type Thinking = z.infer<typeof Thinking>
|
||||
|
||||
export const User = Base.extend({
|
||||
role: z.literal("user"),
|
||||
time: z.object({
|
||||
@@ -305,6 +308,7 @@ export namespace MessageV2 {
|
||||
}),
|
||||
system: z.string().optional(),
|
||||
tools: z.record(z.string(), z.boolean()).optional(),
|
||||
thinking: Thinking.optional(),
|
||||
}).meta({
|
||||
ref: "UserMessage",
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user