✨Feat: agent可传入提示词

This commit is contained in:
2026-03-22 21:45:27 +08:00
parent 67a23fbaa2
commit 997d724aad
2 changed files with 21 additions and 1 deletions
+2
View File
@@ -46,4 +46,6 @@ func init() {
func main() {
agent.Call(llm, ctx)
agent.CallWithMessage(llm, ctx, "System Prompt: please say \"happy\" no matter i say what.\nUser: Hi im wonder")
}