feat(memory): rerank bound 5 s (measurement gate)
This commit is contained in:
1 parent
c43b18cdcd
commit
3261a919c2
2 files changed
+2
-2
No files matched your search
@@ -2260,7 +2260,7 @@ test('IR1: the first prompt of a context asks and injects the block',
|
||||
await say($, GO)
|
||||
expect(w.asks).toHaveLength(1)
|
||||
expect(w.asks[0]).toMatchObject({ model: 'claude-haiku-5-5',
|
||||
effort: 'low', maxTokens: 64, timeoutMs: 3000 })
|
||||
effort: 'low', maxTokens: 64, timeoutMs: 5000 })
|
||||
expect(w.asks[0]?.prompt).toContain('BLK-001 | mod design | ')
|
||||
expect(seen).toEqual([[BLOCK1]])
|
||||
})
|
||||
|
||||
@@ -23,7 +23,7 @@ type State = {
|
||||
export const IDLE_MS = 1800000
|
||||
export const RECALL_CAP = 1500
|
||||
export const HAIKU = 'claude-haiku-5-5'
|
||||
export const RERANK_MS = 3000
|
||||
export const RERANK_MS = 5000
|
||||
|
||||
const SWITCH_FILE = '.claude/memory.json'
|
||||
const MAX_SWITCH_BYTES = 65536
|
||||
|
||||
Reference in new issue
Block a user