mirror of
https://github.com/enricoros/big-AGI.git
synced 2026-05-10 21:50:14 -07:00
Composer: change debounce deadlines
This commit is contained in:
@@ -220,7 +220,7 @@ export function Composer(props: {
|
||||
|
||||
// tokens derived state
|
||||
|
||||
const tokensComposerTextDebounced = useTextTokenCount(composeText, props.chatLLM, 300, 1200);
|
||||
const tokensComposerTextDebounced = useTextTokenCount(composeText, props.chatLLM, 800, 1600);
|
||||
let tokensComposer = (tokensComposerTextDebounced ?? 0) + (llmAttachmentDraftsCollection.llmTokenCountApprox || 0);
|
||||
if (props.chatLLM && tokensComposer > 0)
|
||||
tokensComposer += glueForMessageTokens(props.chatLLM);
|
||||
|
||||
Reference in New Issue
Block a user