package controller import ( "ai-agent/workflow/model/dto" "ai-agent/workflow/service" "context" "gitea.redpowerfuture.com/red-future/common/beans" ) type creationInfo struct{} var CreationInfo = new(creationInfo) func (c *creationInfo) GraphInvoke(ctx context.Context, req *dto.CreationInput) (res *beans.ResponseEmpty, err error) { err = service.CreationInfoService.Creation(ctx, req) return } func (c *creationInfo) List(ctx context.Context, req *dto.ListCreationInfoReq) (res *dto.ListCreationInfoRes, err error) { return service.CreationInfoService.List(ctx, req) }