mirror of
https://github.com/fawney19/Aether.git
synced 2026-09-02 01:10:23 +08:00
Clean up transport fingerprint configuration
Remove legacy tls_profile handling, keep header fingerprint under transport profiles, and drop the duplicate auth_modules migration.
This commit is contained in:
@@ -168,7 +168,7 @@ impl GeminiVideoTaskSeed {
|
||||
provider_api_format: "gemini:video".to_string(),
|
||||
model_name: Some(self.model.clone()),
|
||||
proxy: self.transport.proxy.clone(),
|
||||
transport_profile: None,
|
||||
transport_profile: self.transport.transport_profile.clone(),
|
||||
timeouts: self.transport.timeouts.clone(),
|
||||
})
|
||||
}
|
||||
@@ -228,7 +228,7 @@ impl GeminiVideoTaskSeed {
|
||||
provider_api_format: "gemini:video".to_string(),
|
||||
model_name: Some(self.model.clone()),
|
||||
proxy: self.transport.proxy.clone(),
|
||||
transport_profile: None,
|
||||
transport_profile: self.transport.transport_profile.clone(),
|
||||
timeouts: self.transport.timeouts.clone(),
|
||||
},
|
||||
report_kind: Some("gemini_video_cancel_sync_finalize".to_string()),
|
||||
|
||||
@@ -235,7 +235,7 @@ impl OpenAiVideoTaskSeed {
|
||||
.clone()
|
||||
.or_else(|| self.transport.model_name.clone()),
|
||||
proxy: self.transport.proxy.clone(),
|
||||
transport_profile: None,
|
||||
transport_profile: self.transport.transport_profile.clone(),
|
||||
timeouts: self.transport.timeouts.clone(),
|
||||
},
|
||||
)))
|
||||
@@ -340,7 +340,7 @@ impl OpenAiVideoTaskSeed {
|
||||
provider_api_format: "openai:video".to_string(),
|
||||
model_name: model_name.clone(),
|
||||
proxy: self.transport.proxy.clone(),
|
||||
transport_profile: None,
|
||||
transport_profile: self.transport.transport_profile.clone(),
|
||||
timeouts: self.transport.timeouts.clone(),
|
||||
},
|
||||
report_kind: Some("openai_video_delete_sync_finalize".to_string()),
|
||||
@@ -405,7 +405,7 @@ impl OpenAiVideoTaskSeed {
|
||||
.clone()
|
||||
.or_else(|| self.transport.model_name.clone()),
|
||||
proxy: self.transport.proxy.clone(),
|
||||
transport_profile: None,
|
||||
transport_profile: self.transport.transport_profile.clone(),
|
||||
timeouts: self.transport.timeouts.clone(),
|
||||
})
|
||||
}
|
||||
@@ -466,7 +466,7 @@ impl OpenAiVideoTaskSeed {
|
||||
provider_api_format: "openai:video".to_string(),
|
||||
model_name: model_name.clone(),
|
||||
proxy: self.transport.proxy.clone(),
|
||||
transport_profile: None,
|
||||
transport_profile: self.transport.transport_profile.clone(),
|
||||
timeouts: self.transport.timeouts.clone(),
|
||||
},
|
||||
report_kind: Some("openai_video_cancel_sync_finalize".to_string()),
|
||||
@@ -561,7 +561,7 @@ impl OpenAiVideoTaskSeed {
|
||||
provider_api_format: "openai:video".to_string(),
|
||||
model_name,
|
||||
proxy: self.transport.proxy.clone(),
|
||||
transport_profile: None,
|
||||
transport_profile: self.transport.transport_profile.clone(),
|
||||
timeouts: self.transport.timeouts.clone(),
|
||||
},
|
||||
report_kind: Some("openai_video_remix_sync_finalize".to_string()),
|
||||
|
||||
@@ -30,7 +30,7 @@ impl LocalVideoTaskTransport {
|
||||
content_type: plan.content_type.clone(),
|
||||
model_name: plan.model_name.clone(),
|
||||
proxy: plan.proxy.clone(),
|
||||
tls_profile: None,
|
||||
transport_profile: plan.transport_profile.clone(),
|
||||
timeouts: plan.timeouts.clone(),
|
||||
})
|
||||
}
|
||||
@@ -49,7 +49,7 @@ impl LocalVideoTaskTransport {
|
||||
content_type: input.content_type,
|
||||
model_name: input.model_name,
|
||||
proxy: input.proxy,
|
||||
tls_profile: input.tls_profile,
|
||||
transport_profile: input.transport_profile,
|
||||
timeouts: input.timeouts,
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
use std::collections::BTreeMap;
|
||||
|
||||
use aether_contracts::{ExecutionPlan, ExecutionTimeouts, ProxySnapshot};
|
||||
use aether_contracts::{ExecutionPlan, ExecutionTimeouts, ProxySnapshot, ResolvedTransportProfile};
|
||||
use serde::{Deserialize, Serialize};
|
||||
use serde_json::Value;
|
||||
|
||||
@@ -100,7 +100,7 @@ pub struct LocalVideoTaskTransport {
|
||||
pub content_type: Option<String>,
|
||||
pub model_name: Option<String>,
|
||||
pub proxy: Option<ProxySnapshot>,
|
||||
pub tls_profile: Option<String>,
|
||||
pub transport_profile: Option<ResolvedTransportProfile>,
|
||||
pub timeouts: Option<ExecutionTimeouts>,
|
||||
}
|
||||
|
||||
@@ -116,7 +116,7 @@ pub struct LocalVideoTaskTransportBridgeInput {
|
||||
pub content_type: Option<String>,
|
||||
pub model_name: Option<String>,
|
||||
pub proxy: Option<ProxySnapshot>,
|
||||
pub tls_profile: Option<String>,
|
||||
pub transport_profile: Option<ResolvedTransportProfile>,
|
||||
pub timeouts: Option<ExecutionTimeouts>,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user