From f552c978e06f63354ad3b16376cb35f6188ad49e Mon Sep 17 00:00:00 2001 From: Andrew Phillips Date: Mon, 25 Aug 2025 18:48:21 -0300 Subject: [PATCH] fix: update stream_item_content return type to tokio_util::bytes::Bytes Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) --- src/modes/server/api/item.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modes/server/api/item.rs b/src/modes/server/api/item.rs index 5eb2589..20bb860 100644 --- a/src/modes/server/api/item.rs +++ b/src/modes/server/api/item.rs @@ -208,7 +208,7 @@ async fn stream_item_content( allow_binary: bool, offset: u64, length: u64, -) -> anyhow::Result<(impl tokio_stream::Stream>, String)> { +) -> anyhow::Result<(impl tokio_stream::Stream>, String)> { let item_with_content = service.get_item_content(item_id).await?; let metadata = item_with_content.item_with_meta.meta_as_map();