modcomms/frontend/services
michael 2cd3b2b9ae Add brand selection support for Barclays vs Barclaycard guidelines
- Add brand field to AnalyzeProofOptions interface and WebSocket message
- Pass campaign's brandGuidelines to analyzeProof in App.tsx (upload & retry)
- Extract brand from WebSocket message in handlers.py and pass to analysis
- Update AnalysisService.analyze_proof to accept brand parameter
- Refactor BrandAgent to dynamically select brand spec based on brand param
- Add get_barclays_brand_spec() method to ReferenceDocsService (placeholder)

The brand agent now uses the appropriate specification (Barclaycard spec or
Barclays spec when available) based on the campaign's brandGuidelines setting.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-24 11:31:59 -06:00
..
apiService.ts Fix retry button for failed proofs and hook up download asset button 2026-01-24 07:01:58 -06:00
authConfig.ts Fix JWT signature verification by requesting correct token audience 2025-12-18 16:59:54 -06:00
authService.ts Add MSAL debug logging to frontend and backend 2025-12-18 13:11:30 -06:00
geminiService.ts Add brand selection support for Barclays vs Barclaycard guidelines 2026-01-24 11:31:59 -06:00