fix: update stream_item_content return type to tokio_util::bytes::Bytes

Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
This commit is contained in:
Andrew Phillips
2025-08-25 18:48:21 -03:00
parent 62844b2073
commit f552c978e0

View File

@@ -208,7 +208,7 @@ async fn stream_item_content(
allow_binary: bool,
offset: u64,
length: u64,
) -> anyhow::Result<(impl tokio_stream::Stream<Item = Result<bytes::Bytes, std::io::Error>>, String)> {
) -> anyhow::Result<(impl tokio_stream::Stream<Item = Result<tokio_util::bytes::Bytes, std::io::Error>>, String)> {
let item_with_content = service.get_item_content(item_id).await?;
let metadata = item_with_content.item_with_meta.meta_as_map();