Pythagora-io / gpt-pilot

The first real AI developer
Other
29.91k stars 2.97k forks source link

[Bug]: cannot access local variable 'reviewed_spec' where it is not associated with a value #1078

Open Jujubalandia opened 1 month ago

Jujubalandia commented 1 month ago

Version

VisualStudio Code extension

Operating System

Windows 10

What happened?

[Pythagora] What is the project name?

Basic Flutter Android app [Spec Writer] Describe your app in as much detail as possible

[example]: Start an example project [import]: Import an existing project a fluuter app only with yellow screen [Spec Writer] Checking the complexity of the prompt ...

simple

[Spec Writer] [Pythagora] Stopping Pythagora due to error:

File core/cli/main.py, line 37, in run_project success = await orca.run() File core/agents/orchestrator.py, line 67, in run response = await agent.run() File core/agents/spec_writer.py, line 37, in run return await self.initialize_spec() File core/agents/spec_writer.py, line 82, in initialize_spec self.next_state.specification.description = reviewed_spec UnboundLocalError: cannot access local variable 'reviewed_spec' where it is not associated with a value (venv)

rustyorb commented 1 month ago

I'm getting same thing on fresh install:

Stopping Pythagora due to error:

File core/cli/main.py, line 37, in run_project success = await orca.run() File core/agents/orchestrator.py, line 67, in run response = await agent.run() File core/agents/spec_writer.py, line 37, in run return await self.initialize_spec() File core/agents/spec_writer.py, line 82, in initialize_spec self.next_state.specification.description = reviewed_spec UnboundLocalError: cannot access local variable 'reviewed_spec' where it is not associated with a value