fix: linter cleanup on flow service implementations

Minor fixes from linter: readonly modifiers, unused parameter prefixes,
type narrowing in graph-rag BFS traversal and edge scoring.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
elpresidank 2026-04-05 22:52:40 -05:00
parent b6536eca38
commit 0042f9259c
7 changed files with 21 additions and 19 deletions

View file

@ -9,9 +9,9 @@ import { LlmService, type ProcessorConfig, type LlmResult, type LlmChunk, TooMan
export class ClaudeProcessor extends LlmService {
private client: Anthropic;
private defaultModel: string;
private defaultTemperature: number;
private maxOutput: number;
private readonly defaultModel: string;
private readonly defaultTemperature: number;
private readonly maxOutput: number;
constructor(config: ProcessorConfig & {
model?: string;

View file

@ -9,9 +9,9 @@ import { LlmService, type ProcessorConfig, type LlmResult, type LlmChunk, TooMan
export class OpenAIProcessor extends LlmService {
private client: OpenAI;
private defaultModel: string;
private defaultTemperature: number;
private maxOutput: number;
private readonly defaultModel: string;
private readonly defaultTemperature: number;
private readonly maxOutput: number;
constructor(config: ProcessorConfig & {
model?: string;