Fix automation startup issue and add AI learning documentation

- Fixed foreign key constraint violation in automation service
- Added user upsert to ensure user exists before creating automation session
- Enhanced error reporting in automation start API
- Added comprehensive AI learning system documentation
- Automation now starts successfully in simulation mode
This commit is contained in:
mindesbunister
2025-07-18 20:18:38 +02:00
parent 892c2c845f
commit 118e0269f1
4 changed files with 373 additions and 1 deletions

View File

@@ -23,7 +23,8 @@ export async function POST(request) {
return NextResponse.json({
success: false,
error: 'Internal server error',
message: error.message
message: error.message,
stack: error.stack
}, { status: 500 })
}
}