MCPcopy Create free account
hub / github.com/Bistutu/FluentRead / setOption

Function setOption

userscripts.js:204–207  ·  view source on GitHub ↗
(model, value)

Source from the content-addressed store, hash-verified

202 return GM_getValue("model_" + model) || '';
203 },
204 setOption(model, value) {
205 // LLM 才有 option 选项
206 if (LLM.has(model)) GM_setValue("model_" + model, value);
207 },
208 // 获取 option value
209 getOptionName(model) {
210 return this[model][this.getOption(model)];

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected