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

Function getOllamaData

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

Source from the content-addressed store, hash-verified

234 })
235 },
236 getOllamaData(origin, option) {
237 return JSON.stringify({
238 'model': option,
239 "stream": false,
240 "temperature": 0.1,
241 'messages': [
242 {'role': 'system', 'content': chatMgs.getSystemMsg()},
243 {'role': 'user', 'content': chatMgs.getUserMsg(origin)},
244 ]
245 })
246 }
247}
248
249// token 管理器

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected