mirror of
https://github.com/fawney19/Aether.git
synced 2026-09-02 17:30:23 +08:00
refactor: separate request auth channel from route kind
Extract request_auth_channel as a distinct routing dimension to distinguish between api_key and bearer_like authentication methods. This improves routing clarity by decoupling authentication mechanism from route classification.
This commit is contained in:
@@ -269,7 +269,8 @@ async fn gateway_executes_kiro_claude_cli_stream_via_local_provider_catalog_cand
|
||||
"action": "proxy_public",
|
||||
"route_class": "ai_public",
|
||||
"route_family": "claude",
|
||||
"route_kind": "cli",
|
||||
"route_kind": "messages",
|
||||
"request_auth_channel": "bearer_like",
|
||||
"auth_endpoint_signature": "claude:messages",
|
||||
"execution_runtime_candidate": true,
|
||||
"auth_context": {
|
||||
|
||||
@@ -288,7 +288,8 @@ async fn gateway_executes_kiro_claude_cli_sync_via_local_provider_catalog_candid
|
||||
"action": "proxy_public",
|
||||
"route_class": "ai_public",
|
||||
"route_family": "claude",
|
||||
"route_kind": "cli",
|
||||
"route_kind": "messages",
|
||||
"request_auth_channel": "bearer_like",
|
||||
"auth_endpoint_signature": "claude:messages",
|
||||
"execution_runtime_candidate": true,
|
||||
"auth_context": {
|
||||
@@ -872,7 +873,8 @@ async fn gateway_executes_kiro_claude_cli_sync_via_local_provider_catalog_candid
|
||||
"action": "proxy_public",
|
||||
"route_class": "ai_public",
|
||||
"route_family": "claude",
|
||||
"route_kind": "cli",
|
||||
"route_kind": "messages",
|
||||
"request_auth_channel": "bearer_like",
|
||||
"auth_endpoint_signature": "claude:messages",
|
||||
"execution_runtime_candidate": true,
|
||||
"auth_context": {
|
||||
|
||||
Reference in New Issue
Block a user