Files
crewAI/lib
Devin AI 11be698953 fix: use LF line endings in generate_tool_specs save_to_json
Pass newline='\n' to open() so that tool.specs.json is always written
with LF line endings regardless of the platform.  Without this, running
the script on Windows produces CRLF, causing every line to show as
modified in git diff.

Adds a regression test that reads the output in binary mode and asserts
no \r\n bytes are present.

Closes #4737

Co-Authored-By: João <joao@crewai.com>
2026-03-05 16:54:04 +00:00
..