fix(gateway): route Responses compaction only to Responses providers

This commit is contained in:
zhefox
2026-08-29 12:28:55 +08:00
parent b35364d7fd
commit 56395945c0
3 changed files with 107 additions and 11 deletions
@@ -180,7 +180,7 @@ pub(crate) use aether_ai_formats::{
openai_responses_request_operation, openai_responses_synthetic_reasoning_item_id,
strip_incompatible_openai_responses_reasoning_items,
strip_incompatible_openai_responses_reasoning_items_with_policy, ApiOperation, ClientSurface,
CODEX_CLIENT_VERSION,
CODEX_CLIENT_VERSION, OPENAI_RESPONSES_OPERATION_COMPACT,
};
pub(crate) fn plan_kind_matches_api_operation(