Skip to content

Commit 5932009

Browse files
fix: lint issues
1 parent 7237609 commit 5932009

3 files changed

Lines changed: 5 additions & 7 deletions

File tree

src/main/utils/jsonl.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -398,9 +398,6 @@ export function calculateMetrics(messages: ParsedMessage[]): SessionMetrics {
398398
}
399399
}
400400
}
401-
if (!modelName && msg.model) {
402-
modelName = msg.model;
403-
}
404401
}
405402

406403
return {

src/renderer/components/chat/SessionContextPanel/components/SessionContextHeader.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ import { formatTokens } from '../utils/formatting';
2020
import { SessionContextHelpTooltip } from './SessionContextHelpTooltip';
2121

2222
import type { ContextViewMode } from '../types';
23-
import type { SessionMetrics } from '@main/types';
2423
import type { ContextPhaseInfo } from '@renderer/types/contextInjection';
24+
import type { SessionMetrics } from '@shared/types';
2525

2626
interface SessionContextHeaderProps {
2727
injectionCount: number;

src/renderer/components/chat/SessionContextPanel/types.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@
22
* Type definitions for SessionContextPanel components.
33
*/
44

5+
import type { ClaudeMdSource } from '@renderer/types/claudeMd';
6+
import type { ContextInjection, ContextPhaseInfo } from '@renderer/types/contextInjection';
7+
import type { SessionMetrics } from '@shared/types';
8+
59
// =============================================================================
610
// Props Interface
711
// =============================================================================
8-
import type { SessionMetrics } from '@main/types';
9-
import type { ClaudeMdSource } from '@renderer/types/claudeMd';
10-
import type { ContextInjection, ContextPhaseInfo } from '@renderer/types/contextInjection';
1112

1213
export interface SessionContextPanelProps {
1314
/** All accumulated context injections */

0 commit comments

Comments
 (0)