perf: improve AI prompt cache reuse

This commit is contained in:
shen
2026-09-19 19:21:41 -07:00
parent 7306dc0f85
commit 1a10ca88e0
9 changed files with 318 additions and 124 deletions
@@ -26,6 +26,16 @@ void main() {
),
),
);
expect(
{for (final item in descriptors) item.id: item.promptVersion},
{
'speech-transcription': 1,
'lexicon-explanation': 2,
'dialogue-coach': 3,
'answer-evaluation': 2,
'review-generation': 2,
},
);
});
test(