mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-12 21:03:05 -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',
|
type: 'info',
|
||||||
text:
|
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: ` +
|
`A compressed context will be sent for future messages (compressed from: ` +
|
||||||
`${eventValue?.originalTokenCount ?? 'unknown'} to ` +
|
`${eventValue?.originalTokenCount ?? 'unknown'} to ` +
|
||||||
`${eventValue?.newTokenCount ?? 'unknown'} tokens).`,
|
`${eventValue?.newTokenCount ?? 'unknown'} tokens).`,
|
||||||
@@ -670,7 +670,7 @@ export const useGeminiStream = (
|
|||||||
Date.now(),
|
Date.now(),
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
[addItem, config, pendingHistoryItemRef, setPendingHistoryItem],
|
[addItem, pendingHistoryItemRef, setPendingHistoryItem],
|
||||||
);
|
);
|
||||||
|
|
||||||
const handleMaxSessionTurnsEvent = useCallback(
|
const handleMaxSessionTurnsEvent = useCallback(
|
||||||
|
|||||||
Reference in New Issue
Block a user