mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-10 11:19:50 +08:00
fix(gateway): route Codex context through transport facade
This commit is contained in:
@@ -2,7 +2,6 @@ use std::collections::BTreeMap;
|
|||||||
use std::time::Duration;
|
use std::time::Duration;
|
||||||
|
|
||||||
use aether_ai_serving::{run_ai_authenticated_decision_input, AiAuthenticatedDecisionInputPort};
|
use aether_ai_serving::{run_ai_authenticated_decision_input, AiAuthenticatedDecisionInputPort};
|
||||||
use aether_provider_transport::CodexFingerprintConvergenceContext;
|
|
||||||
use aether_routing_core::{
|
use aether_routing_core::{
|
||||||
rank_vector_for_candidate, CandidateKind, ResolvedRoutingPolicy, RoutingCandidateFacts,
|
rank_vector_for_candidate, CandidateKind, ResolvedRoutingPolicy, RoutingCandidateFacts,
|
||||||
RoutingCandidateTrace, RoutingDecisionTrace, RoutingPoolExpansionTrace, RoutingRulePhase,
|
RoutingCandidateTrace, RoutingDecisionTrace, RoutingPoolExpansionTrace, RoutingRulePhase,
|
||||||
@@ -14,6 +13,7 @@ use http::{HeaderMap, HeaderName, HeaderValue};
|
|||||||
use serde_json::{json, Value};
|
use serde_json::{json, Value};
|
||||||
|
|
||||||
use crate::ai_serving::planner::common::extract_standard_requested_model;
|
use crate::ai_serving::planner::common::extract_standard_requested_model;
|
||||||
|
use crate::ai_serving::transport::CodexFingerprintConvergenceContext;
|
||||||
use crate::ai_serving::{
|
use crate::ai_serving::{
|
||||||
ClientSurface, ExecutionRuntimeAuthContext, GatewayAuthApiKeySnapshot,
|
ClientSurface, ExecutionRuntimeAuthContext, GatewayAuthApiKeySnapshot,
|
||||||
GatewayCredentialCarrier, GatewayProviderTransportSnapshot, PlannerAppState,
|
GatewayCredentialCarrier, GatewayProviderTransportSnapshot, PlannerAppState,
|
||||||
|
|||||||
@@ -108,8 +108,9 @@ pub(crate) use aether_provider_transport::{
|
|||||||
supports_local_generic_oauth_request_auth_resolution,
|
supports_local_generic_oauth_request_auth_resolution,
|
||||||
supports_local_oauth_request_auth_resolution, transport_proxy_is_locally_supported,
|
supports_local_oauth_request_auth_resolution, transport_proxy_is_locally_supported,
|
||||||
transport_supports_api_operation, video_create_transport_unsupported_reason,
|
transport_supports_api_operation, video_create_transport_unsupported_reason,
|
||||||
AnthropicCompatibilityProfile, CandidateTransportPolicyFacts, GatewayProviderTransportSnapshot,
|
AnthropicCompatibilityProfile, CandidateTransportPolicyFacts,
|
||||||
GeminiCliRequestAuth, GeminiCliRequestAuthSupport, GeminiCliRequestAuthUnsupportedReason,
|
CodexFingerprintConvergenceContext, GatewayProviderTransportSnapshot, GeminiCliRequestAuth,
|
||||||
|
GeminiCliRequestAuthSupport, GeminiCliRequestAuthUnsupportedReason,
|
||||||
GeminiCliRequestEnvelopeSupport, GeminiFilesHeadersInput, GeminiFilesRequestBodyError,
|
GeminiCliRequestEnvelopeSupport, GeminiFilesHeadersInput, GeminiFilesRequestBodyError,
|
||||||
GeminiFilesRequestBodyParts, GrokHeaderInput, LocalResolvedOAuthRequestAuth,
|
GeminiFilesRequestBodyParts, GrokHeaderInput, LocalResolvedOAuthRequestAuth,
|
||||||
ProviderOpenAiImageHeadersInput, ProviderVideoCreateFamily, ProviderVideoCreateHeadersInput,
|
ProviderOpenAiImageHeadersInput, ProviderVideoCreateFamily, ProviderVideoCreateHeadersInput,
|
||||||
|
|||||||
Reference in New Issue
Block a user