MCPcopy 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
94export const getSelectedModel = () => {
95 return localStorage.getItem(STORAGE_KEYS.MODEL) || "openai";
96};
97
98export const saveSelectedModel = (model) => {
99 localStorage.setItem(STORAGE_KEYS.MODEL, model);

Callers 1

AppFunction · 0.90

Calls 1

getItemMethod · 0.65

Tested by

no test coverage detected