Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions braintrust_migrate/orchestration.py
Original file line number Diff line number Diff line change
Expand Up @@ -1017,7 +1017,7 @@ def _generate_migration_report(
detailed_report["projects"][project_name] = project_summary

# Write JSON report to file
with open(report_path, "w") as f:
with open(report_path, "w", encoding="utf-8") as f:
json.dump(detailed_report, f, indent=2, default=str)

# Also create a human-readable summary
Expand All @@ -1044,7 +1044,7 @@ def _write_human_readable_summary(
detailed_report: The detailed report data.
summary_path: Path to write the summary.
"""
with open(summary_path, "w") as f:
with open(summary_path, "w", encoding="utf-8") as f:
f.write("# Braintrust Migration Summary\n")
f.write("=" * 50 + "\n\n")

Expand Down
Loading