Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/The-Pocket/PocketFlow-Tutorial-Codebase-Knowledge
/ save_cache
Function
save_cache
utils/call_llm.py:38–43 ·
view source on GitHub ↗
(cache)
Source
from the content-addressed store, hash-verified
36
37
38
def
save_cache(cache):
39
try
:
40
with
open(cache_file,
'w'
)
as
f:
41
json.dump(cache, f)
42
except
:
43
logger.warning(f
"Failed to save cache"
)
44
45
46
def
get_llm_provider():
Callers
1
call_llm
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected