fix(experimental): allow AgentExecutor restore from checkpoint
llm and prompt were declared required with exclude=True, making the model un-restorable from its own serialized output. Mirror the CrewAgentExecutor pattern: make them nullable with default None, keep exclude=True, and re-attach llm on the resume path alongside the other re-attached fields. Guard the two prompt-deref sites so the runtime invariant survives the looser type.
G
Greyson LaLonde committed
88e95befe740aeeafc13e28278aa81b66a4de3eb
Parent: 179c20b
Committed by GitHub <noreply@github.com>
on 5/22/2026, 3:24:12 PM