feat: per-agent tools toggle and better python scratchpad
Add ToolSelector for enabling sandboxed python per agent, drop unsafe filesystem/bash tools, bundle fetchUrl with web search, and return Monty's last expression value so agents need not print.
This commit is contained in:
@@ -21,6 +21,9 @@ export default defineEventHandler(async (event) => {
|
||||
rerank: z.boolean(),
|
||||
maxResults: z.number().min(1).max(50),
|
||||
}).optional(),
|
||||
tools: z.object({
|
||||
python: z.boolean().optional(),
|
||||
}).optional(),
|
||||
}).optional(),
|
||||
})
|
||||
.safeParse(body),
|
||||
|
||||
Reference in New Issue
Block a user