gArthur98 commited on
Commit
e4eccb4
·
verified ·
1 Parent(s): cfdbe14

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +2 -1
src/streamlit_app.py CHANGED
@@ -17,7 +17,8 @@ class AnalyzeProjectRequirement(BaseTool):
17
 
18
  def run(self) -> str:
19
  """Analyze project and store results in shared state"""
20
- if self._shared_state.get("project Analysis already exists, you can move forward to technical specification.")
 
21
 
22
  analysis= {
23
  "name": self.project_name,
 
17
 
18
  def run(self) -> str:
19
  """Analyze project and store results in shared state"""
20
+ if self._shared_state.get("project_analysis", None) is not None:
21
+ raise ValueError("project Analysis already exists, you can move forward to technical specification.")
22
 
23
  analysis= {
24
  "name": self.project_name,