mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-07-15 20:40:35 -07:00
lints
This commit is contained in:
@@ -21,7 +21,7 @@ export class IrProjector {
|
||||
* applies the Immediate Sanitization pipeline, and enforces token boundaries.
|
||||
*/
|
||||
static async project(
|
||||
ship: ReadonlyArray<ConcreteNode>,
|
||||
ship: readonly ConcreteNode[],
|
||||
orchestrator: PipelineOrchestrator,
|
||||
sidecar: SidecarConfig,
|
||||
tracer: ContextTracer,
|
||||
|
||||
@@ -159,7 +159,7 @@ function parseToolResponses(
|
||||
if (callId) pendingCallParts.delete(callId);
|
||||
}
|
||||
}
|
||||
return currentEpisode as Partial<Episode>;
|
||||
return currentEpisode;
|
||||
}
|
||||
|
||||
function parseUserParts(
|
||||
@@ -231,7 +231,7 @@ function parseModelParts(
|
||||
];
|
||||
}
|
||||
}
|
||||
return currentEpisode as Partial<Episode>;
|
||||
return currentEpisode;
|
||||
}
|
||||
|
||||
function finalizeYield(currentEpisode: Partial<Episode>) {
|
||||
@@ -247,7 +247,7 @@ function finalizeYield(currentEpisode: Partial<Episode>) {
|
||||
},
|
||||
};
|
||||
const existingNodes =
|
||||
currentEpisode.concreteNodes as import('./types.js').ConcreteNode[];
|
||||
currentEpisode.concreteNodes as Array<import('./types.js').ConcreteNode>;
|
||||
currentEpisode.concreteNodes = [...existingNodes, yieldNode];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user