MCPcopy Create free account
hub / github.com/astercloud/aster / SetSystemPrompt

Method SetSystemPrompt

pkg/provider/gateway.go:137–139  ·  view source on GitHub ↗

SetSystemPrompt 设置系统提示词

(prompt string)

Source from the content-addressed store, hash-verified

135
136// SetSystemPrompt 设置系统提示词
137func (g *GatewayProvider) SetSystemPrompt(prompt string) error {
138 return g.innerProvider.SetSystemPrompt(prompt)
139}
140
141// GetSystemPrompt 获取系统提示词
142func (g *GatewayProvider) GetSystemPrompt() string {

Callers

nothing calls this directly

Calls 1

SetSystemPromptMethod · 0.65

Tested by

no test coverage detected