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

add google gemini proxy #71

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open

add google gemini proxy #71

wants to merge 9 commits into from

Conversation

wangzhankun
Copy link

添加google gemini proxy支持

@winter2399
Copy link

添加google gemini proxy支持

大佬,能增加这个请求吗?
https://generativelanguage.googleapis.com/v1/models/gemini-pro:streamGenerateContent?key=[key密钥]

@wangzhankun
Copy link
Author

streamContent你可以看我最新的仓库代码,已经实现了,但是不是调用streamGenerateContent实现的,而是一次生成,然后在中转的时候把gemini一次性生成的转成若干次流。如果直接用streamGenerateContent会很麻烦,没有调试成功。

@winter2399
Copy link

streamContent你可以看我最新的仓库代码,已经实现了,但是不是调用streamGenerateContent实现的,而是一次生成,然后在中转的时候把gemini一次性生成的转成若干次流。如果直接用streamGenerateContent会很麻烦,没有调试成功。

原来这样,我就是看不懂所以才希望大佬兼容的。明白了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants