-
Notifications
You must be signed in to change notification settings - Fork 58.9k
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
[Bug] google模型自定义接口出现问题 #3992
Comments
Please follow the issue template to update description of your issue. |
Title: [Bug] |
You could only set the api key for now, custom model name without Gemini could causing the client not recognize the mode type as Google Gemini Pro |
Is there any working document on how to use Google api? I really can’t remember how to do it. |
@JDxiaojuju you can only setting up the "GOOGLE_API_KEY" env, then switch to Google Gemini Model should works fine https://docs.nextchat.dev/quickstart/selfhost/env#using-google-gemini-pro-as-model-provider |
|
|
Whatever I did mistake definitely was not the right thing their fault
asking to changed try to see whatever modifications did for me to receive
original payment and then information from them all to convert to them to
receive the money modification to me
Thank you
Best regards
Agilanberan
…On Wed, Feb 7, 2024 at 12:03 AM Issues-translate-bot < ***@***.***> wrote:
Bot detected the issue body's language is not English, translate it
automatically.
------------------------------
You can only set the "GOOGLE_API_KEY" environment, then switching to the
Google Gemini model should work fine
https://docs.nextchat.dev/quickstart/selfhost/env#using-google-gemini-pro-as-model-provider
I tried but still can't interact normally
—
Reply to this email directly, view it on GitHub
<#3992 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APYVHF7U72MR45J5IQDRT4DYSJH5ZAVCNFSM6AAAAABCYZX5DKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZQGEZTIMZXGU>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
@gaosn00 you can have a try now with the latest version |
在新的这个支持google模型的自定义接口中,会导致错误,返回未输入openai的key(关键我现在是使用google的key)
{
"error": {
"message": "Incorrect API key provided: AIzaSyB8***************************Tzhk. You can find your API key at https://platform.openai.com/account/api-keys.",
"type": "invalid_request_error",
"param": null,
"code": "invalid_api_key"
}
}
The text was updated successfully, but these errors were encountered: