mirror of
https://github.com/fawney19/Aether.git
synced 2026-09-01 17:00:21 +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("stream").is_none());
|
||||
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]
|
||||
|
||||
@@ -514,9 +514,9 @@ pub fn apply_codex_openai_responses_special_headers(
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::{
|
||||
apply_openai_responses_compact_special_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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user