mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-15 14:23:02 -07:00
fix(cli): resolve compilation errors and update test mocks
This commit is contained in:
@@ -2067,6 +2067,10 @@ export class Config implements McpContext, AgentLoopContext {
|
||||
return this.showContextCompression;
|
||||
}
|
||||
|
||||
getContextWindowCompressionThreshold(): number {
|
||||
return this.compressionThreshold ?? 0.5;
|
||||
}
|
||||
|
||||
getMcpEnablementCallbacks(): McpEnablementCallbacks | undefined {
|
||||
return this.mcpEnablementCallbacks;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user