Files
nix-config/agents/evals/review-comments-and-docs/fixtures/F15-state.py
T
ryan4yin | 二花 f32d67a5cc feat(agents): add review-comments-and-docs and two evaluation suites (#434)
Adds the review-comments-and-docs skill (1282-word body) and two evaluation suites: a 21-case
measured suite for the skill, and a harness that runs the two concurrency scenarios previously left
unrun in agents/evals/global-rules.md.
2026-10-12 00:35:06 +08:00

17 lines
388 B
Python

# SPDX-License-Identifier: MIT
# Copyright (c) 2026 Edge Systems
"""Gateway state touched from both the request and refresh paths."""
# Shared mutable state. The request handler mutates it through cache.get/put; the refresh
# thread clears it directly.
from gateway.cache import _cache, _hits
LAST_REFRESH_TS = 0.0
def invalidate():
global _hits
_cache.clear()
_hits = 0