MCPcopy
hub / github.com/google/ax / New

Function New

internal/server/server.go:49–54  ·  view source on GitHub ↗

New creates a new controller server.

(c *controller.Controller)

Source from the content-addressed store, hash-verified

47
48// New creates a new controller server.
49func New(c *controller.Controller) *Server {
50 return &Server{
51 controller: c,
52 inFlight: make(map[string]struct{}),
53 }
54}
55
56// Exec executes a new agentic task with streaming responses.
57func (s *Server) Exec(req *proto.ExecRequest, stream grpc.ServerStreamingServer[proto.ExecResponse]) error {

Callers 3

runServeFunction · 0.92
TestServer_ForkFunction · 0.70

Calls

no outgoing calls

Tested by 2

TestServer_ForkFunction · 0.56