fix: update system prompt metadata label to "System prompt last recompiled" (#9477)

fix: update system prompt metadata label from "Memory blocks were last modified" to "System prompt last recompiled"

When git-based memory is enabled, there are no memory blocks, so the label
"Memory blocks were last modified" is inaccurate. Changed to
"System prompt last recompiled" which accurately reflects the timestamp meaning.

Fixes #9476



🐾 Generated with [Letta Code](https://letta.com)

Co-authored-by: letta-code <248085862+letta-code@users.noreply.github.com>
Co-authored-by: Letta <noreply@letta.com>
This commit is contained in:
github-actions[bot]
2026-02-12 18:27:35 -08:00
committed by Caren Thomas
parent f55ff3a822
commit 0b08164cc2
2 changed files with 5 additions and 5 deletions

View File

@@ -682,7 +682,7 @@ async def test_anthropic_system_prompt_stability(async_client: AsyncLetta):
logger.info(diff_output[:2000]) # Truncate if too long
logger.info("=" * 80)
if "Memory blocks were last modified" in diff_output:
if "System prompt last recompiled" in diff_output:
logger.error("⚠️ TIMESTAMP IS CHANGING IN ACTUAL REQUESTS!")
logger.error(" → This is the root cause of cache misses")
@@ -1054,7 +1054,7 @@ async def test_gemini_request_prefix_stability(async_client: AsyncLetta):
lineterm="",
)
diff_output = "\n".join(diff)
if "Memory blocks were last modified" in diff_output or "timestamp" in diff_output.lower():
if "System prompt last recompiled" in diff_output or "timestamp" in diff_output.lower():
logger.error("⚠️ TIMESTAMP IN SYSTEM INSTRUCTION IS CHANGING!")
logger.error(" → This breaks Gemini implicit caching (prefix must match)")
else: