feat: scope model mappings by endpoint

This commit is contained in:
fawney19
2026-05-07 00:48:15 +08:00
parent 4e9f063385
commit 012f8bcdf7
58 changed files with 731 additions and 101 deletions
@@ -109,6 +109,7 @@ async fn gateway_executes_gemini_video_create_via_local_decision_gate_with_local
name: "veo-3-upstream".to_string(),
priority: 1,
api_formats: Some(vec!["gemini:video".to_string()]),
endpoint_ids: None,
}]),
model_supports_streaming: Some(false),
model_is_active: true,
@@ -114,6 +114,7 @@ async fn gateway_executes_openai_video_create_via_local_decision_gate_with_local
name: "sora-2-upstream".to_string(),
priority: 1,
api_formats: Some(vec!["openai:video".to_string()]),
endpoint_ids: None,
}]),
model_supports_streaming: Some(false),
model_is_active: true,