Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/anomalyco/opencode
/ cache-policy.test.ts
File
cache-policy.test.ts
packages/llm/test/cache-policy.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ describe, expect, test } from
"bun:test"
2
import
{ Effect } from
"effect"
3
import
{ CacheHint, LLM, Message } from
"../src"
4
import
{ Auth, LLMClient } from
"../src/route"
Callers
nothing calls this directly
Calls
7
applyCachePolicy
Function · 0.90
test
Function · 0.85
model
Method · 0.80
with
Method · 0.80
describe
Function · 0.50
prepare
Method · 0.45
request
Method · 0.45
Tested by
no test coverage detected