mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-03-29 21:33:54 +00:00
feat: improved compation
This commit is contained in:
parent
6234611db1
commit
f12a1e34a5
@ -29,7 +29,7 @@ export namespace SessionCompaction {
|
||||
}
|
||||
|
||||
const COMPACTION_BUFFER = 20_000
|
||||
const COMPACTION_BUFFER_TOOTHFAIRYAI = 250_000
|
||||
const COMPACTION_BUFFER_TOOTHFAIRYAI = 0
|
||||
|
||||
export async function isOverflow(input: { tokens: MessageV2.Assistant["tokens"]; model: Provider.Model }) {
|
||||
const config = await Config.get()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user