You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
[0.2.13] - 2026-06-17
Fixed
LocalBackend.write() / edit() no longer double carriage returns on Windows (#51) (src/pydantic_ai_backends/backends/local.py). Path.write_text() opens in text mode, where only \n is translated to os.linesep on write while existing \r is left untouched — so content already containing \r\n (commonly emitted by LLMs) became \r\r\n on Windows, leaving files with blank lines between every line of code. Content is now normalized before writing so text mode re-adds clean, platform-native line endings.