Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pollinations/pollinations
/ getSelectedModel
Function
getSelectedModel
apps/chat/src/utils/storage.js:94–96 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
92
};
93
94
export
const
getSelectedModel = () => {
95
return
localStorage.getItem(STORAGE_KEYS.MODEL) ||
"openai"
;
96
};
97
98
export
const
saveSelectedModel = (model) => {
99
localStorage.setItem(STORAGE_KEYS.MODEL, model);
Callers
1
App
Function · 0.90
Calls
1
getItem
Method · 0.65
Tested by
no test coverage detected