Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
*/
843
export
function
enableCache() {
844
enabled = true;
845
}
846
847
/**
848
* Disable caching. Provider calls will hit the API every time.
Callers
15
cache.test.ts
File · 0.90
index.test.ts
File · 0.90
replicate.test.ts
File · 0.90
opencode-sdk.test.ts
File · 0.90
cloudflare-ai.test.ts
File · 0.90
abliteration.test.ts
File · 0.90
cloudflare-gateway.test.ts
File · 0.90
claude-agent-sdk.test.ts
File · 0.90
nova-sonic.test.ts
File · 0.90
nova-reel.test.ts
File · 0.90
luma-ray.test.ts
File · 0.90
completion.test.ts
File · 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…