Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type A2AReviewer ¶
type A2AReviewer struct {
// contains filtered or unexported fields
}
A2AReviewer represents a reviewer agent responsible for reviewing changes.
func NewReviewer ¶
func NewReviewer(ai brain.Brain, port int, cmds ...string) *A2AReviewer
NewReviewer creates a new instance of A2AReviewer.
func (*A2AReviewer) Handler ¶
func (r *A2AReviewer) Handler(handler protocol.Handler)
Handler sets a custom handler for the reviewer server.
func (*A2AReviewer) ListenAndServe ¶
func (r *A2AReviewer) ListenAndServe() error
ListenAndServe starts the reviewer server and listens for incoming requests.
func (*A2AReviewer) Ready ¶
func (r *A2AReviewer) Ready() <-chan bool
Ready returns a channel that signals when the server is ready to handle requests.
func (*A2AReviewer) Review ¶
func (r *A2AReviewer) Review() (*domain.Artifacts, error)
Review sends a request for review and returns suggestions.
func (*A2AReviewer) Shutdown ¶
func (r *A2AReviewer) Shutdown() error
Shutdown gracefully shuts down the reviewer server.
Click to show internal directories.
Click to hide internal directories.