mirror of
https://github.com/fawney19/Aether.git
synced 2026-09-02 01:10:23 +08:00
style: format codex compact regression tests
This commit is contained in:
@@ -207,7 +207,10 @@ fn local_openai_responses_compact_wrapper_strips_include_for_codex_requests() {
|
|||||||
assert!(provider_request_body.get("store").is_none());
|
assert!(provider_request_body.get("store").is_none());
|
||||||
assert!(provider_request_body.get("stream").is_none());
|
assert!(provider_request_body.get("stream").is_none());
|
||||||
assert_eq!(provider_request_body["instructions"], "");
|
assert_eq!(provider_request_body["instructions"], "");
|
||||||
assert_eq!(provider_request_body["prompt_cache_key"], "172c39e6-c0a0-5a70-8b63-e0f8e0d185a3");
|
assert_eq!(
|
||||||
|
provider_request_body["prompt_cache_key"],
|
||||||
|
"172c39e6-c0a0-5a70-8b63-e0f8e0d185a3"
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
|||||||
@@ -514,9 +514,9 @@ pub fn apply_codex_openai_responses_special_headers(
|
|||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod tests {
|
mod tests {
|
||||||
use super::{
|
use super::{
|
||||||
apply_openai_responses_compact_special_body_edits,
|
|
||||||
apply_codex_openai_responses_chat_body_edits,
|
apply_codex_openai_responses_chat_body_edits,
|
||||||
apply_codex_openai_responses_special_body_edits, CODEX_OPENAI_IMAGE_INTERNAL_MODEL,
|
apply_codex_openai_responses_special_body_edits,
|
||||||
|
apply_openai_responses_compact_special_body_edits, CODEX_OPENAI_IMAGE_INTERNAL_MODEL,
|
||||||
};
|
};
|
||||||
use serde_json::json;
|
use serde_json::json;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user