fix(memory): exempt audits from request timeout (#3886)

This commit is contained in:
Josh Patra
2026-06-15 07:27:46 -04:00
committed by GitHub
parent 3f3c05e8c2
commit f2bfe9b91f
2 changed files with 11 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
from pathlib import Path
def test_memory_audit_uses_its_own_llm_timeout():
source = Path("app.py").read_text()
start = source.index("_TIMEOUT_EXEMPT_PREFIXES =")
end = source.index("\n)\n", start)
timeout_exemptions = source[start:end]
assert '"/api/memory/audit"' in timeout_exemptions