fix(models): add context array cast to AgentPlan
The context column (longText) was missing its array cast, causing "Array to string conversion" errors when creating plans via MCP. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
79ca779302
commit
bf7c0d7d61
1 changed files with 1 additions and 0 deletions
|
|
@ -63,6 +63,7 @@ class AgentPlan extends Model
|
|||
];
|
||||
|
||||
protected $casts = [
|
||||
'context' => 'array',
|
||||
'phases' => 'array',
|
||||
'metadata' => 'array',
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue