chore: Formatting

This commit is contained in:
Aleksander Grygier 2026-02-10 18:21:26 +01:00
parent e233ec3855
commit 9b696fa8a2
4 changed files with 9 additions and 7 deletions

View File

@ -29,7 +29,7 @@ sequenceDiagram
loop For each enabled server
mcpStore->>mcpStore: runHealthCheck(serverId)
mcpStore->>mcpStore: updateHealthCheck(id, CONNECTING)
mcpStore->>MCPSvc: connect(serverName, config, clientInfo, capabilities, onPhase)
activate MCPSvc

View File

@ -138,7 +138,7 @@
}
</script>
{#snippet renderSection(section: typeof sectionsParsed[number], index: number)}
{#snippet renderSection(section: (typeof sectionsParsed)[number], index: number)}
{#if section.type === AgenticSectionType.TEXT}
<div class="agentic-text">
<MarkdownContent content={section.content} attachments={message?.extra} />
@ -283,7 +283,7 @@
{#if highlightTurns && turnGroups.length > 1}
{#each turnGroups as turn, turnIndex (turnIndex)}
{@const turnStats = message?.timings?.agentic?.perTurn?.[turnIndex]}
<div class="agentic-turn hover:bg-muted/80 dark:hover:bg-muted/30 my-2">
<div class="agentic-turn my-2 hover:bg-muted/80 dark:hover:bg-muted/30">
<span class="agentic-turn-label">Turn {turnIndex + 1}</span>
{#each turn.sections as section, sIdx (turn.flatIndices[sIdx])}
{@render renderSection(section, turn.flatIndices[sIdx])}

View File

@ -153,8 +153,7 @@
let highlightAgenticTurns = $derived(
hasAgenticMarkers &&
(currentConfig.alwaysShowAgenticTurns ||
activeStatsView === ChatMessageStatsView.SUMMARY)
(currentConfig.alwaysShowAgenticTurns || activeStatsView === ChatMessageStatsView.SUMMARY)
);
let displayedModel = $derived(message.model ?? null);
@ -288,7 +287,10 @@
<div class="info my-6 grid gap-4 tabular-nums">
{#if displayedModel}
<div bind:this={statsContainerEl} class="inline-flex flex-wrap items-start gap-2 text-xs text-muted-foreground">
<div
bind:this={statsContainerEl}
class="inline-flex flex-wrap items-start gap-2 text-xs text-muted-foreground"
>
{#if isRouter}
<ModelsSelector
currentModel={displayedModel}

View File

@ -438,7 +438,7 @@ class AgenticStore {
if (turnToolCalls.length === 0) {
agenticTimings.perTurn!.push(turnStats);
onComplete?.(
'',
undefined,