jdesiree commited on
Commit
548681b
·
verified ·
1 Parent(s): 156b14e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -936,10 +936,10 @@ def orchestrate_turn(user_input: str, session_id: str = "default") -> str:
936
  log_step("Step 2: Process user input", step_start)
937
 
938
  # ====================================================================
939
- # STEP 3: TOOL DECISION ENGINE (Qwen3-Claude)
940
  # ====================================================================
941
  step_start = log_step("Step 3: Tool decision")
942
- tool_decision_result = tool_agent.should_use_visualization(user_input)
943
 
944
  tool_img_output = ""
945
  tool_context = ""
@@ -951,7 +951,6 @@ def orchestrate_turn(user_input: str, session_id: str = "default") -> str:
951
  logger.info("Tool decision: NO - no visualization needed")
952
 
953
  log_step("Step 3: Tool decision", step_start)
954
-
955
  # ====================================================================
956
  # STEP 4: REGEX LOGICAL EXPRESSIONS
957
  # ====================================================================
 
936
  log_step("Step 2: Process user input", step_start)
937
 
938
  # ====================================================================
939
+ # STEP 3: TOOL DECISION ENGINE (Llama-3.2-3B)
940
  # ====================================================================
941
  step_start = log_step("Step 3: Tool decision")
942
+ tool_decision_result = tool_agent.decide(user_input, conversation_history)
943
 
944
  tool_img_output = ""
945
  tool_context = ""
 
951
  logger.info("Tool decision: NO - no visualization needed")
952
 
953
  log_step("Step 3: Tool decision", step_start)
 
954
  # ====================================================================
955
  # STEP 4: REGEX LOGICAL EXPRESSIONS
956
  # ====================================================================