Map confidence fields in mapJobListResponse
The API was returning confidence_high/moderate/low/total_output_rows but mapJobListResponse was dropping them, so the JobCard never rendered the confidence bar. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
5681ca4acf
commit
a3f00a5fcd
1 changed files with 4 additions and 0 deletions
|
|
@ -190,6 +190,10 @@ function mapJobListResponse(data: any): Job {
|
|||
total_lines: 0,
|
||||
total_token_usage: data.total_token_usage || 0,
|
||||
total_estimated_cost: data.total_estimated_cost || 0,
|
||||
confidence_high: data.confidence_high || 0,
|
||||
confidence_moderate: data.confidence_moderate || 0,
|
||||
confidence_low: data.confidence_low || 0,
|
||||
total_output_rows: data.total_output_rows || 0,
|
||||
};
|
||||
}
|
||||
/* eslint-enable @typescript-eslint/no-explicit-any */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue