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:
@@ -465,7 +465,22 @@ async fn stream_item_content_response_with_metadata(
|
||||
|
||||
if stream {
|
||||
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, _)) => {
|
||||
let body = axum::body::Body::from_stream(stream);
|
||||
let response = Response::builder()
|
||||
|
||||
Reference in New Issue
Block a user