v0.2.8 operator dashboard with per-call audit log + cost tracking
This commit is contained in:
@@ -147,6 +147,8 @@ export function createHardwareBackend({
|
||||
text: lines.join("\n"),
|
||||
segments: shifted,
|
||||
duration_seconds: data.duration || 0,
|
||||
usage: null, // hardware backend doesn't expose token counts
|
||||
model: transcribeModel,
|
||||
};
|
||||
},
|
||||
|
||||
@@ -194,7 +196,11 @@ export function createHardwareBackend({
|
||||
|
||||
const data = await res.json();
|
||||
const text = data?.choices?.[0]?.message?.content || "";
|
||||
return { text };
|
||||
return {
|
||||
text,
|
||||
usage: null,
|
||||
model: analyzeModel,
|
||||
};
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user