eigent/backend/app/utils
copilot-swe-agent[bot] 4e76f4da9b Ensure working directories exist before file operations
Fix bug where files could be saved to non-existent directories. The
`get_working_directory()` function now guarantees the returned directory
exists by creating it if necessary. All toolkit __init__ methods that
resolve working directories from environment variables also ensure the
directory exists before passing it to the base class.

Fixes: Saves files to imaginary directories

Co-authored-by: lightaime <23632352+lightaime@users.noreply.github.com>
2026-02-08 02:34:04 +00:00
..
listen refactor: move toolkit from utils to agent module (#1045) (#1171) 2026-02-06 15:22:21 -08:00
server chore: fix pre commit format and pipeline issue (#1144) 2026-02-04 08:06:29 +08:00
telemetry chore: fix pre commit format and pipeline issue (#1144) 2026-02-04 08:06:29 +08:00
__init__.py chore: fix pre commit format and pipeline issue (#1144) 2026-02-04 08:06:29 +08:00
cookie_manager.py chore: fix pre commit format and pipeline issue (#1144) 2026-02-04 08:06:29 +08:00
event_loop_utils.py refactor: extract event_loop_utils module and improve agent response handling (#999) 2026-02-03 22:15:36 +08:00
file_utils.py Ensure working directories exist before file operations 2026-02-08 02:34:04 +00:00
oauth_state_manager.py chore: fix pre commit format and pipeline issue (#1144) 2026-02-04 08:06:29 +08:00
single_agent_worker.py chore: fix pre commit format and pipeline issue (#1144) 2026-02-04 08:06:29 +08:00
workforce.py fix: fix for failure analyze task (#1156) 2026-02-06 04:54:31 +08:00