- Remove unused imports from both files to fix lint errors
- Update test expectations to match actual schema output format
- Python 3.10+ union syntax now outputs 'str | None' instead of 'Optional[str]'
- All local tests pass and core functionality verified
Co-Authored-By: João <joao@crewai.com>
- Add support for types.UnionType in addition to typing.Union
- Fix AttributeError when processing str | None syntax
- Add comprehensive tests for both union syntaxes
- Handle types without __name__ attribute gracefully
- Resolves issue #3074
Co-Authored-By: João <joao@crewai.com>
* Fix nested pydantic model issue
* fix failing tests
* add in vcr
* cleanup
* drop prints
* Fix vcr issues
* added new recordings
* trying to fix vcr
* add in fix from lorenze.