Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Let a Local Clock Gate the Free Server

说明与用途

脚本通过评估延迟、离线演练标记和秘密模式,决定使用免费远程服务器还是本地模型。

问题

Decide whether to use a free remote server or a local model based on latency, offline status, and secret safety.

结果

The gate script enables teams to use a local model when it meets latency budgets and security checks, otherwise falling back to the free remote server, reducing unnecessary network traffic and trust overhead.

工作流

  • Set assist and batch latency budgets (400 ms and 8000 ms).
  • Run 7 local samples to estimate p50 and p95 latency.
  • Scan payload for secret patterns using a regex.
  • Check for an offline drill marker file.
  • Determine if the network is up.
  • Apply decision logic: block if secrets found; stay local if offline drill missing or local p95 within budget; otherwise use free server if budget missed and network up; otherwise stay local.
  • Output the chosen path and reason.

证据

Set two budgets before you send any prompt. An assist hop should return in under 400 milliseconds. A batch review may spend up to eight seconds.

来源

Stay local when the local p95 fits the budget. Stay local when the offline drill was never recorded. Block the send when a key-like pattern remains.

来源

The secret scan is a rough net, not a proof. It flags common key labels and a private-key banner.

来源

  • 记录日期: 2026-10-08T09:56:05.990Z