From c2d5e15057b37e3e84507c698162f9a204b0ba94 Mon Sep 17 00:00:00 2001 From: David Baity <158404677+MazakTheDwarf@users.noreply.github.com> Date: Thu, 9 Apr 2026 01:04:39 -0400 Subject: [PATCH] Fix opportunity_scan step order: portfolio first then think then WebSearcher --- templates/opportunity_scan.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/opportunity_scan.yml b/templates/opportunity_scan.yml index 02c89b7..945765e 100644 --- a/templates/opportunity_scan.yml +++ b/templates/opportunity_scan.yml @@ -18,7 +18,7 @@ sections: builders: prior_results: | *** CURRENT PORTFOLIO *** - {steps[1].text} + {steps[0].text} *** WEB RESEARCH RESULTS *** {steps[2].text} @@ -26,6 +26,10 @@ builders: (If web results are empty, use your training knowledge for market analysis.) steps: + - type: tool + action: get_portfolio_report + output_key: portfolio_data + - type: think max_tokens: 2000 hint: | @@ -40,10 +44,6 @@ steps: On the LAST LINE, write exactly: SEARCH QUERY: [your query] - - type: tool - action: get_portfolio_report - output_key: portfolio_data - - type: tool capability: Tool_WebSearcher input_from: last_text