Skip to main content

gobby_code/
config.rs

1//! Configuration resolution for gcode.
2
3mod context;
4mod services;
5
6#[cfg(test)]
7mod tests;
8
9pub use context::{
10    CODE_SYMBOL_COLLECTION_PREFIX, CodeVectorConfigError, CodeVectorSettings, Context,
11    EmbeddingConfig, FALKORDB_GRAPH_NAME, FALKORDB_HOST_CONFIG_KEY, FALKORDB_PASSWORD_CONFIG_KEY,
12    FALKORDB_PORT_CONFIG_KEY, FalkorConfig, GOBBY_FALKORDB_HOST_ENV, GOBBY_FALKORDB_PASSWORD_ENV,
13    GOBBY_FALKORDB_PORT_ENV, MissingIdentity, ProjectIdentity, ProjectIdentitySource,
14    ProjectIndexScope, QdrantConfig, ServiceConfigSelection, detect_project_root,
15    detect_project_root_from, resolve_project_identity, warn_project_identity,
16};
17
18pub(crate) use context::validate_parent_code_index;
19pub(crate) use services::{
20    EmbeddingConfigDetails, read_standalone_config_optional, resolve_embedding_config_details,
21};
22
23#[cfg(test)]
24pub(crate) use services::resolve_embedding_config_from_source;