When attempting to add validation to the Pydantic model, an AttributeError occurs: 'ExtractionState' object has no attribute 'tool_call_id'.
The error appears to happen specifically during validation failure and retry scenarios.
Additional investigation is needed to diagnose the root cause of this validation issue.
Requested details for further debugging:
- Full Pydantic model definition
- Complete error traceback
- Context of where validation is occurring
When attempting to add validation to the Pydantic model, an AttributeError occurs: 'ExtractionState' object has no attribute 'tool_call_id'.
The error appears to happen specifically during validation failure and retry scenarios.
Additional investigation is needed to diagnose the root cause of this validation issue.
Requested details for further debugging: