- 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> |
||
|---|---|---|
| .. | ||
| components | ||
| services | ||
| utils | ||
| App.tsx | ||
| constants.ts | ||
| index.html | ||
| index.tsx | ||
| metadata.json | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
| types.ts | ||
| vite.config.ts | ||
Run and deploy your AI Studio app
This contains everything you need to run your app locally.
View your app in AI Studio: https://ai.studio/apps/drive/1vH-R-vj0Xkk_g2ZFdHtLxNc12sFTOl2L
Run Locally
Prerequisites: Node.js
- Install dependencies:
npm install - Set the
GEMINI_API_KEYin .env.local to your Gemini API key - Run the app:
npm run dev