feat(tasks): add vision task scheduler for trust photo analysis #14
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/shared-task-scheduler"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
app/tasks/runner.pywiring Snipe tocircuitforge_core.tasks.schedulertrust_photo_analysis(2.0 GB VRAM budget) — downloads listing photo, base64-encodes it, callsLLMRouterwith vision payload, writes JSON result totrust_scores.photo_analysis_jsonis_stock_photo,visible_damage,authenticity_signal,confidenceLLMRouterimported fromcircuitforge_core.llm(Snipe has noscripts/directory)background_taskstable (first migration after001_init.sql)api/main.pystarts/stops the scheduler on app lifecycleTest plan
trust_photo_analysistask enqueues when a listing has a photo URLtrust_scores.photo_analysis_json