Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anomalyco/opencode
/ recentModel
Function
recentModel
packages/app/src/context/local.tsx:157–161 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
155
}
156
157
const recentModel = () => {
158
for (const item of models.recent.list()) {
159
if (validModel(item)) return item
160
}
161
}
162
163
const defaultModel = () => {
164
const defaults = providers.default()
Callers
1
local.tsx
File · 0.85
Calls
2
validModel
Function · 0.85
list
Method · 0.65
Tested by
no test coverage detected