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

[Feature Request]: 能否新增Gemini翻译引擎? #842

Open
githuberotes opened this issue Feb 6, 2025 · 2 comments
Open

[Feature Request]: 能否新增Gemini翻译引擎? #842

githuberotes opened this issue Feb 6, 2025 · 2 comments
Labels
enhancement New feature or request pr welcome

Comments

@githuberotes
Copy link

githuberotes commented Feb 6, 2025

What would your feature do?

Gemini正式推出2.0 Flash的模型API
RPM够高 上下文窗口远高于其他模型
对于内容审查也比较宽松
可以考虑加入此引擎

@githuberotes githuberotes added the enhancement New feature or request label Feb 6, 2025
@popcion
Copy link
Contributor

popcion commented Mar 1, 2025

在没增加之前,可以通过以下项目使用gemini:
https://github.com/zuisong/gemini-openai-proxy
OPENAI_API_BASE=https://gemini-openai-proxy.deno.dev/v1
OPENAI_API_KEY=YOUR_GEMINI_API_KEY
model直接换成gemini的模型就可以直接通过openai调用gemini,或者使用映射对应的gpt模型

@googoobug
Copy link

googoobug commented Mar 2, 2025

在没增加之前,可以通过以下项目使用gemini: https://github.com/zuisong/gemini-openai-proxy OPENAI_API_BASE=https://gemini-openai-proxy.deno.dev/v1 OPENAI_API_KEY=YOUR_GEMINI_API_KEY model直接换成gemini的模型就可以直接通过openai调用gemini,或者使用映射对应的gpt模型

确实能用。但有时它会把原文和翻译同时返回来,程序把显示在前方的原文当作是翻译结果导入到下一步筛选,结果就会检测到返回来的还是原文,提示不可用。可以看看我刚刚关闭的一个issue就是这个问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request pr welcome
Projects
None yet
Development

No branches or pull requests

4 participants