Closed iamananba closed 1 month ago
Bot detected the issue body's language is not English, translate it automatically.
Title: [Bug] Gemini is not spliced correctly
@iamananba
最新的main分支应该已经修复当前问题。 不过,自定义接口处不能直接填写官方的地址(可使用/api/google做转发)。因为官方地址不支持跨域。
Bot detected the issue body's language is not English, translate it automatically.
@iamananba
The latest main branch should have the current issue fixed. However, the official address cannot be directly filled in at the custom interface (/api/google can be used for forwarding). Because the official address does not support cross-domain.
Bug Description
配置Gemini后。gemini机器人发送的请求路径不正确(只有根路径)
Steps to Reproduce
Expected Behavior
请求路径正确拼接 v1beta/models/gemini-1.5-pro-latest:generateContent
Screenshots
No response
Deployment Method
Desktop OS
window 11
Desktop Browser
chrome
Desktop Browser Version
126
Smartphone Device
No response
Smartphone OS
No response
Smartphone Browser
No response
Smartphone Browser Version
No response
Additional Logs
No response