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