mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-09 10:57:03 +08:00
支持 Gemini Interactions 与 Antigravity 配额精细化
This commit is contained in:
@@ -17,6 +17,8 @@ const AI_POST_ROUTE_PATTERNS: &[&str] = &[
|
||||
"/v1/responses/compact",
|
||||
"/v1/images/generations",
|
||||
"/v1/images/edits",
|
||||
"/v1/interactions",
|
||||
"/v1beta/interactions",
|
||||
"/v1internal:loadCodeAssist",
|
||||
"/v1internal:fetchAvailableModels",
|
||||
"/v1internal:fetchUserInfo",
|
||||
@@ -95,6 +97,12 @@ mod tests {
|
||||
fn supports_data_api_endpoint_signatures_and_public_paths() {
|
||||
for (api_format, family, kind, path) in [
|
||||
("openai:embedding", "openai", "embedding", "/v1/embeddings"),
|
||||
(
|
||||
"gemini:interactions",
|
||||
"gemini",
|
||||
"interactions",
|
||||
"/v1/interactions",
|
||||
),
|
||||
(
|
||||
"gemini:embedding",
|
||||
"gemini",
|
||||
|
||||
Reference in New Issue
Block a user