agent
This commit is contained in:
@@ -17,4 +17,9 @@ func RegisterAssistantRoutes(api fiber.Router, f *facade.Facade) {
|
||||
|
||||
assistant.Get("/status", f.AssistantController.Status)
|
||||
assistant.Post("/ask", f.AssistantController.Ask)
|
||||
assistant.Post("/approve", f.AssistantController.Approve)
|
||||
|
||||
// The MCP door, under the same group so it inherits the same session guard.
|
||||
// One endpoint: JSON-RPC carries the method in the body.
|
||||
assistant.Post("/mcp", f.MCPController.Handle)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user