@@ -169,6 +169,7 @@ impl ModelClient {
|
|||||||
store,
|
store,
|
||||||
stream: true,
|
stream: true,
|
||||||
include,
|
include,
|
||||||
|
prompt_cache_key: Some(self.session_id.to_string()),
|
||||||
};
|
};
|
||||||
|
|
||||||
let mut attempt = 0;
|
let mut attempt = 0;
|
||||||
|
|||||||
@@ -215,6 +215,8 @@ pub(crate) struct ResponsesApiRequest<'a> {
|
|||||||
pub(crate) store: bool,
|
pub(crate) store: bool,
|
||||||
pub(crate) stream: bool,
|
pub(crate) stream: bool,
|
||||||
pub(crate) include: Vec<String>,
|
pub(crate) include: Vec<String>,
|
||||||
|
#[serde(skip_serializing_if = "Option::is_none")]
|
||||||
|
pub(crate) prompt_cache_key: Option<String>,
|
||||||
}
|
}
|
||||||
|
|
||||||
pub(crate) fn create_reasoning_param_for_request(
|
pub(crate) fn create_reasoning_param_for_request(
|
||||||
|
|||||||
Reference in New Issue
Block a user