Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/The-Pocket/PocketFlow-Tutorial-Codebase-Knowledge
/ load_cache
Function
load_cache
utils/call_llm.py:29–35 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
27
28
29
def
load_cache():
30
try
:
31
with
open(cache_file,
'r'
)
as
f:
32
return
json.load(f)
33
except
:
34
logger.warning(f
"Failed to load cache."
)
35
return
{}
36
37
38
def
save_cache(cache):
Callers
1
call_llm
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected