mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-12-04 06:54:28 +00:00
fix(agent): remove title property options from autofill schema for maximum provider compatibility
This commit is contained in:
@@ -409,6 +409,7 @@ export interface AutofillAiParams {
|
||||
export async function autofillAiActivity(params: AutofillAiParams) {
|
||||
const prompt = 'Analyze the provided images and extract metadata.'
|
||||
const toolSchema = fieldsToTypeBoxSchema(params.fields)
|
||||
console.log('==== autofill schema', toolSchema)
|
||||
let capturedData: Record<string, unknown> | null = null
|
||||
|
||||
const autofillTool: AgentTool = {
|
||||
|
||||
Reference in New Issue
Block a user