Kill dead agent_config_dir
This commit is contained in:
parent
9bebbcb635
commit
743b35eb20
1 changed files with 0 additions and 6 deletions
|
|
@ -79,8 +79,6 @@ pub struct Config {
|
|||
pub agent_budget: usize,
|
||||
#[serde(deserialize_with = "deserialize_path")]
|
||||
pub prompts_dir: PathBuf,
|
||||
#[serde(default, deserialize_with = "deserialize_path_opt")]
|
||||
pub agent_config_dir: Option<PathBuf>,
|
||||
/// Resolved from agent_model → models → backend (not in config directly)
|
||||
#[serde(skip)]
|
||||
pub api_base_url: Option<String>,
|
||||
|
|
@ -141,7 +139,6 @@ impl Default for Config {
|
|||
llm_concurrency: 1,
|
||||
agent_budget: 1000,
|
||||
prompts_dir: home.join(".consciousness/prompts"),
|
||||
agent_config_dir: None,
|
||||
api_base_url: None,
|
||||
api_key: None,
|
||||
api_model: None,
|
||||
|
|
@ -256,9 +253,6 @@ impl Config {
|
|||
if let Some(s) = cfg.get("prompts_dir").and_then(|v| v.as_str()) {
|
||||
config.prompts_dir = expand_home(s);
|
||||
}
|
||||
if let Some(s) = cfg.get("agent_config_dir").and_then(|v| v.as_str()) {
|
||||
config.agent_config_dir = Some(expand_home(s));
|
||||
}
|
||||
if let Some(s) = cfg.get("api_base_url").and_then(|v| v.as_str()) {
|
||||
config.api_base_url = Some(s.to_string());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue