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

Function getSystemPrompt

examples/prompt-builder/main.go:139–141  ·  view source on GitHub ↗

getSystemPrompt 获取 Agent 的 System Prompt

(ag *agent.Agent)

Source from the content-addressed store, hash-verified

137
138// getSystemPrompt 获取 Agent 的 System Prompt
139func getSystemPrompt(ag *agent.Agent) string {
140 return ag.GetSystemPrompt()
141}

Callers 1

mainFunction · 0.85

Calls 1

GetSystemPromptMethod · 0.65

Tested by

no test coverage detected