Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
easychen committed Mar 4, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 2eeb805 commit 549458b
Showing 2 changed files with 11 additions and 2 deletions.
9 changes: 7 additions & 2 deletions README.CN.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
> ⚠️ 这是代理的服务器端,不是客户端。需要部署到可以联通 openai api 的网络环境后访问。
## Docker

```
@@ -31,6 +33,9 @@ chatApi= new gpt.ChatGPTAPI({
apiKey: 'sk.....:<proxy_key写这里>',
apiBaseUrl: "http://localhost:9001", // 传递代理地址
});

```

## 致谢


```
1. SSE参考了[chatgpt-api项目相关代码](https://github.com/transitive-bullshit/chatgpt-api/blob/main/src/fetch-sse.ts)
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -42,3 +42,7 @@ chatApi= new gpt.ChatGPTAPI({

```

## Acknowledgments

1. SSE referenced the related code in [chatgpt-api project](https://github.com/transitive-bullshit/chatgpt-api/blob/main/src/fetch-sse.ts).

0 comments on commit 549458b

Please sign in to comment.