MCPcopy Create free account
hub / github.com/experdot/pointer / getModelConfig

Method getModelConfig

src/main/aiHandler.ts:133–141  ·  view source on GitHub ↗

* 获取或创建默认的 ModelConfig

(modelConfig?: ModelConfig)

Source from the content-addressed store, hash-verified

131 * 获取或创建默认的 ModelConfig
132 */
133 private getModelConfig(modelConfig?: ModelConfig): ModelConfig {
134 return (
135 modelConfig || {
136 systemPrompt: '',
137 topP: 1,
138 temperature: 1
139 }
140 )
141 }
142
143 /**
144 * 发送错误消息给渲染进程

Callers 1

sendMessageStreamingMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected