mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-01 17:39:39 +02:00
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:
parent
b6536eca38
commit
0042f9259c
7 changed files with 21 additions and 19 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue