feat: surface session goal evaluation model and add diagnostics

Shows the evaluation provider/model used for the latest successful goal audit in the UI.
Persists evaluation model metadata on session goals and covers it in tests.
Adds diagnostic logging for small-model calls and session-goal audit parsing.
This commit is contained in:
Bohdan Triapitsyn
2026-07-15 08:56:10 +03:00
parent 4eac90ad44
commit e48a9397f1
17 changed files with 106 additions and 6 deletions
@@ -117,6 +117,14 @@ export function SessionGoalDialog({ open, onOpenChange, sessionId, directory }:
{goal.statusReason && (goal.status === 'blocked' || goal.status === 'budgetLimited') ? (
<p className="typography-meta text-muted-foreground/70">{goal.statusReason}</p>
) : null}
{goal.evaluationProviderID || goal.evaluationModelID ? (
<div className="flex items-baseline gap-2 typography-meta">
<span className="text-muted-foreground/70">{t('chat.goal.dialog.evaluationModelLabel')}</span>
<span className="min-w-0 break-all text-foreground">
{[goal.evaluationProviderID, goal.evaluationModelID].filter(Boolean).join('/')}
</span>
</div>
) : null}
</div>
)}