Add raw AI response to parse result for debugging
- Backend returns raw AI text alongside parsed fields - Drawer shows expandable "Raw AI response" section when result has empty fields - Scan Receipt shows raw response inline if no fields were extracted - Helps diagnose model output issues without needing server logs Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
1ece0908af
commit
a7c54ca61c
4 changed files with 18 additions and 2 deletions
|
|
@ -21,6 +21,7 @@ export interface ParsedReceipt {
|
|||
date: string | null;
|
||||
description: string | null;
|
||||
category: string | null;
|
||||
raw: string | null;
|
||||
}
|
||||
|
||||
export async function getAiSettings(): Promise<AiSettings> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue