Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/tiann/hapi
/ getCurrentModel
Function
getCurrentModel
cli/src/kimi/loop.ts:47–50 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
45
}
46
47
const
getCurrentModel = (): string | undefined => {
48
const
sessionModel = session.getModel();
49
return
sessionModel != null ? sessionModel : opts.model;
50
};
51
52
await
runLocalRemoteSession({
53
session,
Callers
1
kimiLoop
Function · 0.70
Calls
1
getModel
Method · 0.80
Tested by
no test coverage detected