feat: add stream parameter support for item content responses
Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) <aider@aider.chat>
This commit is contained in:
@@ -128,6 +128,8 @@ pub struct ItemQuery {
|
||||
pub offset: u64,
|
||||
#[serde(default)]
|
||||
pub length: u64,
|
||||
#[serde(default = "default_stream")]
|
||||
pub stream: bool,
|
||||
}
|
||||
|
||||
#[derive(Debug, Deserialize, utoipa::ToSchema)]
|
||||
@@ -139,6 +141,8 @@ pub struct ItemContentQuery {
|
||||
pub offset: u64,
|
||||
#[serde(default)]
|
||||
pub length: u64,
|
||||
#[serde(default = "default_stream")]
|
||||
pub stream: bool,
|
||||
}
|
||||
|
||||
fn check_bearer_auth(auth_str: &str, expected_password: &str, expected_hash: &Option<String>) -> bool {
|
||||
|
||||
Reference in New Issue
Block a user