SIGN IN SIGN UP

fix(prompts): evict prompt cache on NotFound error (#1442) (#1456)

fix: evict prompt cache on NotFound error (#1442)

- Add NotFoundError handling in _fetch_prompt_and_update_cache
- Add delete() method to PromptCache
- Add test for cache eviction on NotFound
- Fix test fixture to initialize _resources with PromptCache

Co-authored-by: Betensis <60091030+Betensis@users.noreply.github.com>
H
Hassieb Pakzad committed
31687037b48a9c666df8aaa0d9bfc60357ad55aa
Parent: e8b355e
Committed by GitHub <noreply@github.com> on 12/1/2025, 1:00:33 PM