Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 2 additions & 0 deletions python/scripts/prepare_envs.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ if (-not (Test-Path ".venv")) {
}
Highlight-Command "uv sync --group dev"
uv sync --group dev
# https://stackoverflow.com/questions/74267313/how-to-use-tzdata-file-with-pyarrow-compute-assume-timezone/74292266
uv run -s "python -c 'import pyarrow.util; pyarrow.util.download_tzdata_on_windows()'"
Write-Success "Main environment setup complete."

Write-Highlight "=========================================="
Expand Down
2 changes: 1 addition & 1 deletion python/valuecell/agents/research_agent/sources.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ async def _write_and_ingest(
period_of_report=period_of_report,
filing_date=filing_date,
)
async with aiofiles.open(path, "w") as file:
async with aiofiles.open(path, "w", encoding="utf-8") as file:
await file.write(content)

result = SECFilingResult(file_name, path, metadata)
Expand Down