regenerate-memoized-llm
OfficialRegenerate memoized LLM test caches safely.
Authordxos
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Tests in this repo can use memoized LLM responses stored in *.conversations.json files committed to git. When prompts or behavior change, the cache can be stale and tests fail with:
No memoized conversation found for the given prompt. Re-run test with ALLOW_LLM_GENERATION=1 to generate a new memoized conversation.
Core Features & Use Cases
- Regenerate all memoized-llm caches by loading credentials and running tests with generation enabled.
- Regenerate one package by enabling generation for that package's tests and committing updated files.
- Notes: Conduct regeneration only when intentionally updating the cache; generation uses real LLM calls and writes to the repo.
Quick Start
Enable generation mode and run memoized-llm tests to refresh the conversation caches.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: regenerate-memoized-llm Download link: https://github.com/dxos/dxos/archive/main.zip#regenerate-memoized-llm Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.