Open Cosmicjedi opened 3 weeks ago
the fix seems to be to ensure that we handle edge cases where current_state.file is empty?
I'm building an AI agent, that automatically writes test cases and tries to cover all possible edge cases. Is it okay if i try to run it on this repo?
Version
Command-line (Python) version
Operating System
Windows 11
What happened?
Stopping Pythagora due to error:
File
read_files = [file for file in self.current_state.files if file.path in getattr(action, "read_files", [])]
TypeError: argument of type 'NoneType' is not iterable
core/cli/main.py
, line 38, in run_project success = await orca.run() Filecore/agents/orchestrator.py
, line 78, in run response = await agent.run() Filecore/agents/developer.py
, line 88, in run return await self.breakdown_current_task() Filecore/agents/developer.py
, line 199, in breakdown_current_task return await self.get_relevant_files() Filecore/agents/mixins.py
, line 113, in get_relevant_files read_files = [file for file in self.current_state.files if file.path in getattr(action, "read_files", [])] Filecore/agents/mixins.py
, line 113, in