MCPcopy
hub / github.com/docker/docker-agent / WithSystemMessage

Function WithSystemMessage

pkg/session/session.go:762–766  ·  view source on GitHub ↗
(content string)

Source from the content-addressed store, hash-verified

760}
761
762func WithSystemMessage(content string) Opt {
763 return func(s *Session) {
764 s.AddMessage(SystemMessageAt(s.now(), content))
765 }
766}
767
768func WithMaxIterations(maxIterations int) Opt {
769 return func(s *Session) {

Callers 2

newSubSessionFunction · 0.92

Calls 3

SystemMessageAtFunction · 0.85
nowMethod · 0.80
AddMessageMethod · 0.65

Tested by 1