Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

建议新增gemini_api_base #2067

Closed
1 task done
Zhangsbo opened this issue Jun 9, 2024 · 1 comment
Closed
1 task done

建议新增gemini_api_base #2067

Zhangsbo opened this issue Jun 9, 2024 · 1 comment

Comments

@Zhangsbo
Copy link

Zhangsbo commented Jun 9, 2024

⚠️ 搜索是否存在类似issue

  • 我已经搜索过issues和disscussions,没有发现相似issue

总结

目前gemini没有对应的base选项,无法通过已经代理好的域名进行国内访问,gemini作为免费api有着较广的应用面,希望能进行更新

举例

"gemini_api_base": "https://XXXXX"

动机

目前gemini没有对应的base选项,无法通过已经代理好的域名进行国内访问,gemini作为免费api有着较广的应用面,希望能进行更新

@6vision
Copy link
Collaborator

6vision commented Jun 10, 2024

代理如果是兼容openai格式的,可以直接使用open_ai_api_base即可,

@6vision 6vision closed this as completed Jun 13, 2024
@6vision 6vision mentioned this issue Aug 1, 2024
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants