Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anomalyco/opencode
/ apiName
Function
apiName
packages/core/src/session/runner/model.ts:128–129 ·
view source on GitHub ↗
(model: ModelV2.Info)
Source
from the content-addressed store, hash-verified
126
}
127
128
const
apiName = (model: ModelV2.Info) =>
129
model.api.
type
===
"aisdk"
? `${model.api.
type
}:${model.api.package}` : model.api.
type
130
131
export
const
fromCatalogModel = (
132
model: ModelV2.Info,
Callers
1
fromCatalogModel
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected