Architecture
services/resources/
services/engine/
services/haystack/
services/shared/
API Layer
Service Layer
extract_token_usage_from_pipeline_result()
aggregate_token_usage()
infer_provider_from_model()
Task Processing
Data Layer
Authentication
Utilities
Development
Common utility functions used throughout the application.
normalize_analysis_payload() - Handles field name mapping and removes non-model metadata
normalize_analysis_payload()