You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(research): Simplify AI prompt to ONLY format (no analysis)
CRITICAL FIX: The whole point of OVSM preprocessing is to save AI tokens!
Before: Asked AI to "analyze" the data (it was doing its own analysis!)
After: Explicitly tell AI "analysis is ALREADY COMPLETE, ONLY format into tables"
System prompt now clearly states:
- You are a markdown formatter (NOT analyst)
- DO NOT analyze, interpret, or add commentary
- ONLY convert JSON to markdown tables
- NO analysis. NO interpretation. ONLY formatting.
This ensures we're using OVSM aggregation correctly and not wasting tokens on re-analysis.
// System prompt for custom formatting (bypass planning mode)
400
-
let system_prompt = format!(r#"You are a blockchain analyst. Format the following aggregated Solana wallet transfer summary into a clear markdown report.
400
+
let system_prompt = r#"You are a markdown formatter. The blockchain analysis is ALREADY COMPLETE.
401
401
402
-
Create a professional report with:
402
+
Your ONLY job: Convert the provided JSON into clean markdown tables.
403
403
404
-
1. **Token Summary**:
405
-
- Token symbol and mint address
406
-
- Total transfers for this token
404
+
DO NOT analyze, interpret, or add commentary. ONLY format what's given:
407
405
408
-
2. **Inflow Analysis**:
409
-
- List top_senders with amounts (addresses that sent tokens to this wallet)
406
+
For each token in the JSON, create:
410
407
411
-
3. **Outflow Analysis**:
412
-
- List top_receivers with amounts (addresses that received tokens from this wallet)
408
+
**{symbol} ({mint})**
409
+
- Transfers: {transfer_count} ({inflow_count} in, {outflow_count} out)
0 commit comments