Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Stopping Pythagora due to error: #1124

Open
Cosmicjedi opened this issue Nov 1, 2024 · 1 comment
Open

[Bug]: Stopping Pythagora due to error: #1124

Cosmicjedi opened this issue Nov 1, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Cosmicjedi
Copy link

Version

Command-line (Python) version

Operating System

Windows 11

What happened?

Stopping Pythagora due to error:

File core/cli/main.py, line 38, in run_project
success = await orca.run()
File core/agents/orchestrator.py, line 78, in run
response = await agent.run()
File core/agents/developer.py, line 88, in run
return await self.breakdown_current_task()
File core/agents/developer.py, line 199, in breakdown_current_task
return await self.get_relevant_files()
File core/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", [])]
File core/agents/mixins.py, line 113, in
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

@Cosmicjedi Cosmicjedi added the bug Something isn't working label Nov 1, 2024
@Himasnhu-AT
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants