File size: 1,292 Bytes
63eb750
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#!/usr/bin/env python3
"""
Test the full pipeline with LLM integration
"""

import os
from dotenv import load_dotenv
from agent.pipeline_engine import OvergrowthPipeline

load_dotenv()

print("=" * 70)
print("OVERGROWTH PIPELINE - FULL TEST")
print("=" * 70)

# Test input
test_input = """
We're a coffee shop chain with 3 locations. We need WiFi for customers, 
POS systems with payment processing, security cameras, and secure VPN to HQ 
for centralized management. Each location has ~50 customers at peak time.
"""

pipeline = OvergrowthPipeline()

print("\n🤝 Stage 1: Consultation")
print("-" * 70)
results = pipeline.run_full_pipeline(test_input)

print("\n📋 Source of Truth Generated:")
print("-" * 70)
print(results.get('model', {})[:500] if isinstance(results.get('model'), str) else str(results.get('model'))[:500])

print("\n🛒 Bill of Materials:")
print("-" * 70)
print(results.get('shopping_list', '')[:500])

print("\n📊 Diagrams:")
print("-" * 70)
diagrams = results.get('diagrams', {})
if diagrams.get('summary'):
    print(diagrams['summary'][:300])

print("\n" + "=" * 70)
print("PIPELINE TEST COMPLETE")
print("=" * 70)
print(f"\nFiles created:")
print(f"  - infra/network_model.yaml")
print(f"  - infra/bill_of_materials.json")
print(f"  - infra/setup_guide.md")