fix: resolve private field access and type issues

Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) <aider@aider.chat>
This commit is contained in:
Andrew Phillips
2025-08-25 21:09:13 -03:00
parent 3611c93a4a
commit 9f140923bc
4 changed files with 15 additions and 7 deletions

View File

@@ -177,10 +177,10 @@ impl AsyncItemService {
let item_with_meta = item_service.get_item(&conn, item_id)?;
let item_id_val = item_with_meta.item.id.ok_or_else(|| CoreError::InvalidInput("Item missing ID".to_string()))?;
let mut item_path = item_service.data_path.clone();
let mut item_path = item_service.get_data_path().clone();
item_path.push(item_id_val.to_string());
let reader = item_service.compression_service.stream_item_content(
let reader = item_service.get_compression_service().stream_item_content(
item_path,
&item_with_meta.item.compression
)?;