Qwen3.8-Flash-Next on any consumer hardware: one-click install for Windows / Linux. Strata inference engine, OpenAI/Anthropic API on localhost, optional image input.
C++
Enforce Pi benchmark request limits and engine memory evidence
Jeremiah Ritchey089d4442789a
diff --git a/tools/agent_cache_benchmark.py b/tools/agent_cache_benchmark.pyindex 74fa38381..8f817a54e 100644--- a/tools/agent_cache_benchmark.py+++ b/tools/agent_cache_benchmark.py@@ -157,9 +157,16 @@ def main():children = Path(f'/proc/{server.pid}/task/{server.pid}/children').read_text().split()record['child_memory_kib'] = {}for pid in children:- status = Path(f'/proc/{pid}/status').read_text().splitlines()+ try:+ if Path(f'/proc/{pid}/comm').read_text().strip() != 'strata':+ continue+ status = Path(f'/proc/{pid}/status').read_text().splitlines()+ except FileNotFoundError:+ continuerecord['child_memory_kib'][pid] = {s.split(':')[0]: int(s.split()[1])for s in status if s.startswith(('VmHWM:', 'VmRSS:'))}+ if not record['child_memory_kib']:+ raise RuntimeError('Missing engine high-water memory sample')shutil.copytree(work, run/'artifacts')finally:if server.poll() is None:diff --git a/tools/agent_cache_task.mjs b/tools/agent_cache_task.mjsindex 75d1690c7..13f6676c4 100644--- a/tools/agent_cache_task.mjs+++ b/tools/agent_cache_task.mjs@@ -24,6 +24,12 @@ async function makeSession() {const loader = new DefaultResourceLoader({cwd, agentDir, settingsManager, noExtensions: true,noSkills: true, noPromptTemplates: true, noThemes: true, noContextFiles: true,extensionFactories: [pi => {+ pi.on('before_provider_request', event => {+ const payload = {...event.payload, temperature: 0, max_tokens: 2048,+ chat_template_kwargs: {enable_thinking: false}};+ delete payload.max_completion_tokens;+ return payload;+ });pi.on('tool_call', event => {if (++budget.calls > 12) {budget.limited = true;