MCPcopy Index your code
hub / github.com/promptfoo/promptfoo / enableCache

Function enableCache

src/cache.ts:843–845  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

841 * ```
842 */
843export function enableCache() {
844 enabled = true;
845}
846
847/**
848 * Disable caching. Provider calls will hit the API every time.

Callers 15

cache.test.tsFile · 0.90
index.test.tsFile · 0.90
replicate.test.tsFile · 0.90
nova-sonic.test.tsFile · 0.90
nova-reel.test.tsFile · 0.90
luma-ray.test.tsFile · 0.90
completion.test.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…