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

Function getStdData

userscripts.js:224–235  ·  view source on GitHub ↗
(origin, option)

Source from the content-addressed store, hash-verified

222 }
223 },
224 getStdData(origin, option) {
225 return JSON.stringify({
226 'model': option,
227 "temperature": 0.3,
228 'messages': [
229 {'role': 'system', 'content': chatMgs.getSystemMsg()},
230 {'role': 'user', 'content': chatMgs.getUserMsg('hello')},
231 {'role': "assistant", 'content': '你好'},
232 {'role': 'user', 'content': origin}
233 ]
234 })
235 },
236 getOllamaData(origin, option) {
237 return JSON.stringify({
238 'model': option,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected