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

Function minimaxTemplate

entrypoints/utils/template.ts:147–162  ·  view source on GitHub ↗
(origin: string)

Source from the content-addressed store, hash-verified

145}
146
147export function minimaxTemplate(origin: string) {
148
149 let system = config.system_role[config.service] || defaultOption.system_role;
150 let user = (config.user_role[config.service] || defaultOption.user_role)
151 .replace('{{to}}', config.to).replace('{{origin}}', origin);
152
153 return JSON.stringify({
154 model: "MiniMax-Text-01",
155 stream: false,
156 temperature: 0.7,
157 messages: [
158 {role: 'system', content: system},
159 {role: 'user', content: user},
160 ]
161 })
162}
163
164export function cozeTemplate(origin: string) {
165

Callers 1

minimaxFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected