mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-06-09 19:45:17 +02:00
fix copilot tool response validation
This commit is contained in:
parent
3b29c27f2e
commit
b6fc32d575
1 changed files with 5 additions and 0 deletions
|
|
@ -579,6 +579,11 @@ export async function getCopilotResponse(
|
|||
const test = {
|
||||
name: 'test',
|
||||
description: 'test',
|
||||
parameters: {
|
||||
type: 'object',
|
||||
properties: {},
|
||||
required: [],
|
||||
},
|
||||
} as z.infer<typeof WorkflowTool>;
|
||||
// iterate over each field in part.content.config_changes
|
||||
// and test if the final object schema is valid
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue