refactor: remove /v1/gemini endpoint, replaced by /v1beta routes

- Delete handle_gemini handler (identical to handle_gemini_v1beta)
- Remove /v1/gemini route from router
- Update root handler service name to zerogravity
- Clean all doc references
This commit is contained in:
Nikketryhard
2026-02-18 01:59:22 -06:00
parent 59ed872ed3
commit 1a5075dd20
5 changed files with 3 additions and 14 deletions

View File

@@ -48,7 +48,6 @@ pub fn router(state: Arc<AppState>) -> Router {
"/v1/chat/completions",
post(completions::handle_completions),
)
.route("/v1/gemini", post(gemini::handle_gemini))
.route(
"/v1beta/{*path}",
post(gemini::handle_gemini_v1beta),
@@ -72,7 +71,7 @@ pub fn router(state: Arc<AppState>) -> Router {
async fn handle_root() -> Json<serde_json::Value> {
Json(serde_json::json!({
"service": "antigravity-openai-proxy",
"service": "zerogravity",
"version": "3.3.0",
"runtime": "rust",
"endpoints": [