kaikaidai commited on
Commit
d5c05ac
·
1 Parent(s): 5cb99c1
Files changed (2) hide show
  1. requirements.txt +1 -1
  2. src/workflows_v2.py +4 -4
requirements.txt CHANGED
@@ -1,5 +1,5 @@
1
  # Core Framework
2
- agno>=1.7.5
3
  streamlit>=1.47.0
4
  fastapi>=0.104.0
5
 
 
1
  # Core Framework
2
+ agno==1.7.5
3
  streamlit>=1.47.0
4
  fastapi>=0.104.0
5
 
src/workflows_v2.py CHANGED
@@ -171,8 +171,9 @@ def create_agents(model_id: str = DEFAULT_MODEL_ID):
171
  # --- Execution function ---
172
  @instrument("Startup Idea Validation Workflow")
173
  async def startup_validation_execution(
174
- message: str = None,
175
- startup_idea: str = None,
 
176
  model_id: str = DEFAULT_MODEL_ID,
177
  progress_callback=None,
178
  **kwargs: Any,
@@ -186,8 +187,7 @@ async def startup_validation_execution(
186
  idea_clarifier_agent, market_research_agent, competitor_analysis_agent, report_agent = create_agents(model_id)
187
 
188
  # Get inputs
189
- if message is None:
190
- message = "Validate this startup idea"
191
  idea: str = startup_idea
192
 
193
  if not idea:
 
171
  # --- Execution function ---
172
  @instrument("Startup Idea Validation Workflow")
173
  async def startup_validation_execution(
174
+ workflow: Workflow,
175
+ execution_input: WorkflowExecutionInput, # This is a Pydantic model to ensure type safety
176
+ startup_idea: str,
177
  model_id: str = DEFAULT_MODEL_ID,
178
  progress_callback=None,
179
  **kwargs: Any,
 
187
  idea_clarifier_agent, market_research_agent, competitor_analysis_agent, report_agent = create_agents(model_id)
188
 
189
  # Get inputs
190
+ message: str = execution_input.message
 
191
  idea: str = startup_idea
192
 
193
  if not idea: