Skip to content

Commit 45c36b7

Browse files
committed
temp fix: allow any messages
1 parent 18fecb7 commit 45c36b7

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

common/src/tools/params/tool/set-messages.ts

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,7 @@ export const setMessagesParams = {
99
endsAgentStep,
1010
parameters: z
1111
.object({
12-
messages: z.array(
13-
z
14-
// Make sure to pass through any additional properties!
15-
.looseObject({
16-
role: z.enum(['user', 'assistant']),
17-
content: z.string()
18-
}),
19-
),
12+
messages: z.any(),
2013
})
2114
.describe(`Set the conversation history to the provided messages.`),
2215
outputs: z.tuple([]),

0 commit comments

Comments
 (0)