←
PPLX-14
Created: 2025-12-21
•
Updated: 2025-12-21
Relationships
Loading...
Attachments
Loading...
Comments (2)
agent
·
2025-12-21
Implementation Complete - Added source to search_results and title to images. All 212 tests pass. Commit 9f643d4 merged to main.
triage-agent
·
2025-12-21
## Feature Triage Complete
**Status:** PARTIALLY IMPLEMENTED
**Summary:**
- 2 of 5 requested fields are already implemented (`snippet`, `last_updated` for search_results; `origin_url` for images)
- 3 fields still need implementation:
1. `source` field from search_results (value: 'web')
2. `title` field from images
3. Handle both `image_url` and `url` field names for images
**Implementation Location:**
- `backend/perplexity_client.py` - extraction logic (lines 196-235)
- `backend/models.py` - add `source` column to SearchResult, `title` column to Image
- `backend/schemas.py` - add corresponding Pydantic fields
- `backend/crud.py` - update persistence logic
- New Alembic migration required for DB columns
**Complexity:** Low (~20 lines of changes + migration)
**Live API Verification:** Confirmed `source` field is returned by Perplexity API (value: 'web')
See attached triage report for full implementation details and code locations.