mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-11 14:40:52 -07:00
Update auto compression message. (#12605)
This commit is contained in:
committed by
GitHub
parent
400da30a8d
commit
ca6cfaaf4e
@@ -662,7 +662,7 @@ export const useGeminiStream = (
|
||||
{
|
||||
type: 'info',
|
||||
text:
|
||||
`IMPORTANT: This conversation approached the input token limit for ${config.getModel()}. ` +
|
||||
`IMPORTANT: This conversation exceeded the compress threshold. ` +
|
||||
`A compressed context will be sent for future messages (compressed from: ` +
|
||||
`${eventValue?.originalTokenCount ?? 'unknown'} to ` +
|
||||
`${eventValue?.newTokenCount ?? 'unknown'} tokens).`,
|
||||
@@ -670,7 +670,7 @@ export const useGeminiStream = (
|
||||
Date.now(),
|
||||
);
|
||||
},
|
||||
[addItem, config, pendingHistoryItemRef, setPendingHistoryItem],
|
||||
[addItem, pendingHistoryItemRef, setPendingHistoryItem],
|
||||
);
|
||||
|
||||
const handleMaxSessionTurnsEvent = useCallback(
|
||||
|
||||
Reference in New Issue
Block a user