fix(ui): type batch results metadata as unknown instead of any

This commit is contained in:
mubashir1osmani 2026-09-03 18:09:18 -04:00
parent c276813cb4
commit 06c860b60a

View file

@ -388,7 +388,7 @@ function MetricLabel({ label, tooltip, docsUrl }: { label: string; tooltip: stri
* Aggregate per-request outcomes for a batch cost row: batch id, success/failure counts
* from the parsed output and error files, and the models the batch actually ran on.
*/
function BatchResultsSection({ logEntry, metadata }: { logEntry: LogEntry; metadata: Record<string, any> }) {
function BatchResultsSection({ logEntry, metadata }: { logEntry: LogEntry; metadata: Record<string, unknown> }) {
const counts = getBatchRequestCounts(metadata);
const batchId = getBatchIdFromRequestId(logEntry.request_id);
const batchModels = getBatchModels(metadata);