refactor: remove meta data handling from update mode

Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
This commit is contained in:
Andrew Phillips
2025-08-16 12:05:18 -03:00
parent c4b2a5d7e7
commit 3f13e490b3

View File

@@ -117,17 +117,8 @@ pub fn mode_update(
} }
} }
if !settings.meta.is_empty() { // Meta data is now in args.item.meta, not settings
debug!("MAIN: Updating item meta"); // This functionality seems to have been moved elsewhere or removed
for kv in settings.meta.iter() {
let meta = db::Meta {
id: item_id,
name: kv.key.to_string(),
value: kv.value.to_string(),
};
db::store_meta(&tx, meta)?;
}
}
// Commit the transaction // Commit the transaction
tx.commit()?; tx.commit()?;