Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Run ¶
func Run( ctx context.Context, tenantID, nodeInstanceID string, config *serverapi.Config, state *runtimestate.State, tracker libtracker.ActivityTracker, ps libbus.Messenger, dbInstance libdbexec.DBManager, tokenizerSvc ollamatokenizer.Tokenizer, repo llmrepo.ModelRepo, environmentExec taskengine.EnvExecutor, hookRepo taskengine.HookRepo, hitlSvc hitlservice.Service, taskService execservice.TasksEnvService, embedService embedservice.Service, execService execservice.ExecService, taskChainService taskchainservice.Service, vfsSvc vfsservice.Service, vfsRoot string, ) (error, func() error)
Run starts the Contenox server with the given tenant ID and blocks until ctx is cancelled. The server loads its configuration from environment variables (see serverapi.Config). If tenantID is empty, a default local tenant ID is used.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.