Task 009: Implement Workflow and LLM Configuration
Description
Create TrendDetectionWorkflow that wires TokenLaunchSource → TrendDetectionProcessor → TrendFirebaseExecutor, and create trend_llm.yaml configuration.
Acceptance Criteria
Technical Details
- Workflow location: src/workflows/trend_detection_workflow.py
- Config location: src/res/config/trend_llm.yaml
- Use TrendDetectionSource (wraps TokenLaunchSource + Firestore watch)
- Event flow: TrendDetectionEvent (enriched) → processor.process() → executor.execute(action)
- LLM config format matches existing litellm.yaml structure
- Text model: fast/cheap for classification (90% of cases)
- Multimodal model: expensive for creation (10% of cases)
CRITICAL: Workflow instantiates TrendDetectionSource with:
- websocket_source = TokenLaunchSource() (existing)
- firebase_service = SimpleFirebaseService() (existing)
This gives the workflow real-time trend updates with zero additional infrastructure.
Effort Estimate
- Size: M
- Hours: 6-8
- Parallel: false (depends on Tasks 003, 007, 008 - UPDATED)
Task 009: Implement Workflow and LLM Configuration
Description
Create TrendDetectionWorkflow that wires TokenLaunchSource → TrendDetectionProcessor → TrendFirebaseExecutor, and create trend_llm.yaml configuration.
Acceptance Criteria
Technical Details
CRITICAL: Workflow instantiates TrendDetectionSource with:
This gives the workflow real-time trend updates with zero additional infrastructure.
Effort Estimate