Skip to main content

Module engine_config

Module engine_config 

Source
Expand description

TOML-based embedding engine configuration for khive.

Loads .khive/config.toml (or --config / KHIVE_CONFIG) and exposes an [[engines]] array for arbitrary-N embedding engine registration. Falls back to KHIVE_EMBEDDING_MODEL env vars when no config file is present.

Structs§

ActorConfig
Actor configuration — the default namespace / identity for this khive instance.
EngineConfig
Configuration for a single embedding engine.
KhiveConfig
Top-level khive configuration loaded from khive.toml or config.toml.
RuntimeSectionConfig
[runtime] section in khive.toml.

Enums§

ConfigError
Errors produced while loading or validating a KhiveConfig.

Functions§

config_from_env
Build an in-memory KhiveConfig from the legacy env-var path.