mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-11 03:39:49 +08:00
@@ -104,6 +104,17 @@ pub(super) fn classify_ai_public_route(
|
||||
"gemini:video",
|
||||
true,
|
||||
))
|
||||
} else if normalized_path.ends_with(":embedContent")
|
||||
|| normalized_path.ends_with(":batchEmbedContents")
|
||||
{
|
||||
Some(classified_with_request_auth_channel(
|
||||
"ai_public",
|
||||
"gemini",
|
||||
"embedding",
|
||||
"api_key",
|
||||
"gemini:embedding",
|
||||
true,
|
||||
))
|
||||
} else if is_gemini_cli_request(headers) {
|
||||
Some(classified_with_request_auth_channel(
|
||||
"ai_public",
|
||||
|
||||
Reference in New Issue
Block a user