Skip to content

Commit

Permalink
fix: update google url description (ChatGPTNextWeb#3719)
Browse files Browse the repository at this point in the history
* feat: update new logo & cover image

* fix: update google url description
  • Loading branch information
fredliang44 authored Dec 31, 2023
1 parent 9122547 commit eade013
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .env.template
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ PROXY_URL=http://localhost:7890
GOOGLE_API_KEY=

# (optional)
# Default: https://generativelanguage.googleapis.com/v1beta/models/gemini-pro:generateContent
# Googel Gemini Pro API url, set if you want to customize Google Gemini Pro API url.
# Default: https://generativelanguage.googleapis.com/
# Googel Gemini Pro API url without pathname, set if you want to customize Google Gemini Pro API url.
GOOGLE_URL=

# Override openai api request base url. (optional)
Expand Down
3 changes: 1 addition & 2 deletions app/constant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,7 @@ export const Azure = {
};

export const Google = {
ExampleEndpoint:
"https://generativelanguage.googleapis.com/v1beta/models/gemini-pro:generateContent",
ExampleEndpoint: "https://generativelanguage.googleapis.com/",
ChatPath: "v1beta/models/gemini-pro:generateContent",

// /api/openai/v1/chat/completions
Expand Down
2 changes: 1 addition & 1 deletion app/locales/cn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ const cn = {

Endpoint: {
Title: "接口地址",
SubTitle: "样例:",
SubTitle: "不包含请求路径,样例:",
},

ApiVerion: {
Expand Down

0 comments on commit eade013

Please sign in to comment.