Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
new-api
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
5cf4db07
authored
Sep 18, 2023
by
Calcium-Ion
Committed by
GitHub
Sep 18, 2023
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'songquanpeng:main' into main
parents
8a8202ae
59caef09
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
README.md
+6
-0
No files found.
README.md
View file @
5cf4db07
...
@@ -284,6 +284,12 @@ docker run --name chatgpt-web -d -p 3002:3002 -e OPENAI_API_BASE_URL=https://ope
...
@@ -284,6 +284,12 @@ docker run --name chatgpt-web -d -p 3002:3002 -e OPENAI_API_BASE_URL=https://ope
注意,具体的 API Base 的格式取决于你所使用的客户端。
注意,具体的 API Base 的格式取决于你所使用的客户端。
例如对于 OpenAI 的官方库:
```
bash
OPENAI_API_KEY="sk-xxxxxx"
OPENAI_API_BASE="https://
<HOST>
:
<PORT>
/v1"
```
```
mermaid
```
mermaid
graph LR
graph LR
A(用户)
A(用户)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment