server

package
v0.6.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 11, 2026 License: Apache-2.0 Imports: 23 Imported by: 0

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,
	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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL