feat(tui): use configured compaction threshold for /context output
This commit is contained in:
@@ -17,6 +17,7 @@ export interface FullscreenTuiConfig {
|
||||
agent?: NativeAgent;
|
||||
hookEngine?: HookEngine;
|
||||
modelProviderConfigs?: Partial<Record<ModelProvider, ModelConfig>>;
|
||||
contextThresholdPct?: number;
|
||||
onExit?: () => void;
|
||||
}
|
||||
|
||||
@@ -40,6 +41,7 @@ export async function startFullscreenTui(config: FullscreenTuiConfig): Promise<v
|
||||
agent: config.agent,
|
||||
hookEngine: config.hookEngine,
|
||||
modelProviderConfigs: config.modelProviderConfigs,
|
||||
contextThresholdPct: config.contextThresholdPct,
|
||||
onExit: config.onExit,
|
||||
}),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user