[Bug]: cannot access local variable 'reviewed_spec' where it is not associated with a value
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 [continue]: continue [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)
Source: Pythagora-io/gpt-pilot