mirror of
https://github.com/clucraft/PriceGhost.git
synced 2026-05-12 09:12:40 +02:00
Add per-product AI verification disable option
Users can now disable AI verification for individual products that AI is having trouble with (e.g., Amazon products where AI keeps picking the main buy box price instead of "other sellers"). Changes: - Add ai_verification_disabled column to products table - Add toggle in product detail page under "Advanced Settings" - Pass skip flag to scrapeProductWithVoting - Skip AI verification when flag is set Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
d2e1cc70fc
commit
b9d8d15e68
7 changed files with 147 additions and 6 deletions
|
|
@ -219,7 +219,7 @@ router.put('/:id', async (req: AuthRequest, res: Response) => {
|
|||
return;
|
||||
}
|
||||
|
||||
const { name, refresh_interval, price_drop_threshold, target_price, notify_back_in_stock } = req.body;
|
||||
const { name, refresh_interval, price_drop_threshold, target_price, notify_back_in_stock, ai_verification_disabled } = req.body;
|
||||
|
||||
const product = await productQueries.update(productId, userId, {
|
||||
name,
|
||||
|
|
@ -227,6 +227,7 @@ router.put('/:id', async (req: AuthRequest, res: Response) => {
|
|||
price_drop_threshold,
|
||||
target_price,
|
||||
notify_back_in_stock,
|
||||
ai_verification_disabled,
|
||||
});
|
||||
|
||||
if (!product) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue