Version 1.2.4
Changes
- Added startFlow to HasFlowRun trait to seperate run with flow creation.
- Added mergeContext method to FlowRun model. This way you can edit FlowRuns before starting them like this:
$chat->startFlow(ChatFlow::class)->mergeContext(['some_context_to_start' => 'Hello World'])->runFlow("input");- Set subject to private and added a subject() getter to FlowEngine
- Updated Readme and Example
Full Changelog: v1.2.3...v1.2.4