mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-07-16 04:50:29 -07:00
tidying
This commit is contained in:
@@ -5,7 +5,10 @@
|
||||
*/
|
||||
|
||||
import type { Content } from '@google/genai';
|
||||
import type { AgentChatHistory, HistoryTurn } from '../core/agentChatHistory.js';
|
||||
import type {
|
||||
AgentChatHistory,
|
||||
HistoryTurn,
|
||||
} from '../core/agentChatHistory.js';
|
||||
import { isToolExecution, type ConcreteNode } from './graph/types.js';
|
||||
import type { ContextEventBus } from './eventBus.js';
|
||||
import type { ContextTracer } from './tracer.js';
|
||||
@@ -400,12 +403,9 @@ export class ContextManager {
|
||||
|
||||
this.tracer.logEvent('ContextManager', 'Finished rendering');
|
||||
|
||||
const hardenedHistory = hardenHistory(
|
||||
renderedHistory,
|
||||
{
|
||||
sentinels: this.sidecar.sentinels,
|
||||
},
|
||||
);
|
||||
const hardenedHistory = hardenHistory(renderedHistory, {
|
||||
sentinels: this.sidecar.sentinels,
|
||||
});
|
||||
|
||||
const apiHistory = hardenedHistory.map((h) => h.content);
|
||||
if (header) {
|
||||
|
||||
Reference in New Issue
Block a user