mirror of
https://github.com/hanzoai/agent.git
synced 2026-09-11 21:08:51 +00:00
The reasoner-admin gRPC service, its middleware, and the generated *_grpc.pb.go now require -tags grpc to compile. Default builds use only the ZAP-native admin path. The adminpb stub keeps `UnimplementedAdminReasonerServiceServer` available as a zero-field struct so embedders compile. Generated file regen via protoc will erase the build constraint — inline comment in reasoner_admin_grpc.pb.go flags this for the next person who runs the codegen.
12 lines
443 B
Go
12 lines
443 B
Go
//go:build !grpc
|
|
|
|
package adminpb
|
|
|
|
// UnimplementedAdminReasonerServiceServer is a no-op stub used when the
|
|
// `grpc` build tag is disabled. The full gRPC server interface lives in
|
|
// reasoner_admin_grpc.pb.go (gated by //go:build grpc); embedders depend
|
|
// on this empty struct so the default build still compiles.
|
|
//
|
|
// Rebuild with -tags grpc to use the real generated server skeleton.
|
|
type UnimplementedAdminReasonerServiceServer struct{}
|