fix(agent): remove title property options from autofill schema for maximum provider compatibility

This commit is contained in:
yiling
2026-07-28 21:42:06 +08:00
parent 37331eae64
commit d6a74b8294
3 changed files with 5 additions and 14 deletions
+1
View File
@@ -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 = {