mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-17 01:21:10 -07:00
bug(core): Strip thoughts when loading history. (#7167)
This commit is contained in:
@@ -393,9 +393,9 @@ export const useSlashCommandProcessor = (
|
||||
}
|
||||
}
|
||||
case 'load_history': {
|
||||
await config
|
||||
config
|
||||
?.getGeminiClient()
|
||||
?.setHistory(result.clientHistory);
|
||||
?.setHistory(result.clientHistory, { stripThoughts: true });
|
||||
fullCommandContext.ui.clear();
|
||||
result.history.forEach((item, index) => {
|
||||
fullCommandContext.ui.addItem(item, index);
|
||||
|
||||
Reference in New Issue
Block a user