make generated image directory configurable

This commit is contained in:
Jesse Du
2026-06-25 20:42:38 -04:00
parent 5044062704
commit b1b3eec56e
16 changed files with 171 additions and 76 deletions
@@ -239,6 +239,7 @@ fn new_config(model: Option<String>, arg0_paths: Arg0DispatchPaths) -> anyhow::R
memories: MemoriesConfig::default(),
sqlite_home: codex_home.to_path_buf(),
log_dir: codex_home.join("log").to_path_buf(),
generated_images_dir: codex_home.join("generated_images"),
config_lock_export_dir: None,
config_lock_allow_codex_version_mismatch: false,
config_lock_save_fields_resolved_from_model_catalog: true,