mirror of
https://github.com/fawney19/Aether.git
synced 2026-09-02 17:30:23 +08:00
feat: configure auth channel mismatch formats
This commit is contained in:
@@ -1093,7 +1093,7 @@ async fn gateway_executes_vertex_ai_gemini_cli_stream_via_local_decision_gate_wi
|
||||
}
|
||||
|
||||
fn sample_provider_catalog_key() -> StoredProviderCatalogKey {
|
||||
StoredProviderCatalogKey::new(
|
||||
let mut key = StoredProviderCatalogKey::new(
|
||||
"key-vertex-cli-stream-local-1".to_string(),
|
||||
"provider-vertex-cli-stream-local-1".to_string(),
|
||||
"prod".to_string(),
|
||||
@@ -1114,7 +1114,10 @@ async fn gateway_executes_vertex_ai_gemini_cli_stream_via_local_decision_gate_wi
|
||||
None,
|
||||
None,
|
||||
)
|
||||
.expect("key transport should build")
|
||||
.expect("key transport should build");
|
||||
key.allow_auth_channel_mismatch_formats =
|
||||
Some(serde_json::json!(["gemini:generate_content"]));
|
||||
key
|
||||
}
|
||||
|
||||
let seen_execution_runtime = Arc::new(Mutex::new(None::<SeenExecutionRuntimeStreamRequest>));
|
||||
|
||||
@@ -1412,7 +1412,7 @@ async fn gateway_executes_vertex_ai_gemini_cli_sync_via_local_decision_gate_with
|
||||
}
|
||||
|
||||
fn sample_provider_catalog_key() -> StoredProviderCatalogKey {
|
||||
StoredProviderCatalogKey::new(
|
||||
let mut key = StoredProviderCatalogKey::new(
|
||||
"key-vertex-cli-local-1".to_string(),
|
||||
"provider-vertex-cli-local-1".to_string(),
|
||||
"prod".to_string(),
|
||||
@@ -1433,7 +1433,10 @@ async fn gateway_executes_vertex_ai_gemini_cli_sync_via_local_decision_gate_with
|
||||
None,
|
||||
None,
|
||||
)
|
||||
.expect("key transport should build")
|
||||
.expect("key transport should build");
|
||||
key.allow_auth_channel_mismatch_formats =
|
||||
Some(serde_json::json!(["gemini:generate_content"]));
|
||||
key
|
||||
}
|
||||
|
||||
let seen_execution_runtime = Arc::new(Mutex::new(None::<SeenExecutionRuntimeSyncRequest>));
|
||||
|
||||
Reference in New Issue
Block a user