Skip to content

7.4 billion tokens per month. 34 free LLM providers. 635 free model endpoints. All behind one /v1 endpoint, plus any custom OpenAI-compatible endpoint. Smart routing, automatic failover, encrypted keys. Personal experimentation only.

TypeScript

feat(analytics): show the full error message on hover in the recent errors table (#489)

Jasnoor Gill0ede822d0ac1
diff --git a/client/src/pages/AnalyticsPage.tsx b/client/src/pages/AnalyticsPage.tsx
index 085a0a5f..86be6793 100644
--- a/client/src/pages/AnalyticsPage.tsx
+++ b/client/src/pages/AnalyticsPage.tsx
@@ -800,7 +800,11 @@ export default function AnalyticsPage() {
{errors.slice(0, 20).map((e) => (
<TableRow key={e.id}>
<TableCell className="pl-4 text-xs">{e.endpoint ?? e.platform}</TableCell>
- <TableCell className="text-xs max-w-[200px] truncate">{e.error}</TableCell>
+ <TableCell className="text-xs max-w-[200px]">
+ {e.error
+ ? <HoverTooltip text={e.error} side="top" className="block truncate">{e.error}</HoverTooltip>
+ : null}
+ </TableCell>
<TableCell className="text-right text-xs text-muted-foreground tabular-nums pr-4">
{formatSqliteUtcToLocalTime(e.createdAt, { hour: '2-digit', minute: '2-digit' })}
</TableCell>