mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-12 22:31:12 -07:00
Run npm run format
- This has the entirety of the changes. Part of https://b.corp.google.com/issues/411720532
This commit is contained in:
committed by
N. Taylor Mullen
parent
fa264e4286
commit
383b917784
@@ -14,7 +14,7 @@ export interface AiClient {
|
||||
generateJson(
|
||||
prompt: Content[], // Keep flexible or define a stricter prompt structure type
|
||||
schema: SchemaUnion,
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
): Promise<any>; // Ideally, specify the expected JSON structure TAnalysisResult | TAnalysisFailure
|
||||
}
|
||||
|
||||
@@ -127,10 +127,14 @@ export class BackgroundTerminalAnalyzer {
|
||||
// Reread files one last time in case output was written just before exit
|
||||
try {
|
||||
currentStdout = await fs.readFile(tempStdoutFilePath, 'utf-8');
|
||||
} catch { /* ignore */ }
|
||||
} catch {
|
||||
/* ignore */
|
||||
}
|
||||
try {
|
||||
currentStderr = await fs.readFile(tempStderrFilePath, 'utf-8');
|
||||
} catch { /* ignore */ }
|
||||
} catch {
|
||||
/* ignore */
|
||||
}
|
||||
|
||||
lastAnalysisResult = await this.analyzeOutputWithLLM(
|
||||
currentStdout,
|
||||
|
||||
Reference in New Issue
Block a user