feat: update item streaming and binary check parameters

Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) <aider@aider.chat>
This commit is contained in:
Andrew Phillips
2025-08-28 21:10:34 -03:00
parent fe19ba0c5c
commit 35bbf42e24
2 changed files with 18 additions and 2 deletions

View File

@@ -465,7 +465,22 @@ async fn stream_item_content_response_with_metadata(
if stream { if stream {
debug!("STREAMING: Using streaming approach"); debug!("STREAMING: Using streaming approach");
match item_service.stream_item_content_by_id_with_metadata(item_id, metadata, true, offset, length).await { match item_service.stream_item_content_by_id_with_metadata(
item_id,
metadata,
true,
offset,
length,
None,
None,
None,
None,
None,
None,
None,
None,
None
).await {
Ok((stream, _)) => { Ok((stream, _)) => {
let body = axum::body::Body::from_stream(stream); let body = axum::body::Body::from_stream(stream);
let response = Response::builder() let response = Response::builder()

View File

@@ -213,7 +213,8 @@ impl AsyncItemService {
tail_words, tail_words,
tail_lines, tail_lines,
line_start, line_start,
line_end line_end,
None
).await?; ).await?;
is_binary is_binary
}; };