Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadConfig ¶
func New ¶
func New( ctx context.Context, config *Config, dbInstance libdb.DBManager, pubsub libbus.Messenger, embedder llmrepo.ModelRepo, execmodelrepo llmrepo.ModelRepo, environmentExec taskengine.EnvExecutor, state *runtimestate.State, hookRegistry taskengine.HookRegistry, kvManager libkv.KVManager, ) (http.Handler, func() error, error)
Types ¶
type Config ¶
type Config struct {
DatabaseURL string `json:"database_url"`
Port string `json:"port"`
Addr string `json:"addr"`
NATSURL string `json:"nats_url"`
NATSUser string `json:"nats_user"`
NATSPassword string `json:"nats_password"`
TokenizerServiceURL string `json:"tokenizer_service_url"`
EmbedModel string `json:"embed_model"`
EmbedModelContextLength string `json:"embed_model_context_length"`
TaskModel string `json:"task_model"`
TaskModelContextLength string `json:"task_model_context_length"`
VectorStoreURL string `json:"vector_store_url"`
KVBackend string `json:"kv_backend"`
KVHost string `json:"kv_host"`
KVPassword string `json:"kv_password"`
Token string `json:"token"`
}
Click to show internal directories.
Click to hide internal directories.