mirror of
https://github.com/snailyp/gemini-balance.git
synced 2026-05-31 05:09:46 +08:00
- 将generate_content和stream_generate_content端点的认证依赖从verify_goog_api_key更改为verify_key_or_goog_api_key - 使Gemini API同时支持URL参数中的key和请求头中的x-goog-api-key进行认证 - 提高API的灵活性,便于不同客户端集成