updates on the airegistry and controllers and test files are been integrated

This commit is contained in:
2026-09-30 16:38:34 +05:30
parent 0ac5d3d54f
commit cb3108ffdb
5 changed files with 127 additions and 0 deletions

View File

@@ -205,6 +205,9 @@ func GetInternalAIRegistry(c *fiber.Ctx) error {
if !ok {
return nil
}
// Proof the engine is following the registry — see GetAIStatus. Counted
// for 304s too: an unchanged registry is still a successful read.
markRegistryRead()
tag := registry.ETag(snap)
c.Set(fiber.HeaderETag, tag)
c.Set(fiber.HeaderCacheControl, "no-cache")