Skip to content

Commit

Permalink
update version and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
RexWzh committed May 8, 2023
1 parent 8ba8816 commit 1231566
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ from openai_api_call import request
request.base_url = "https://api.example.com"
```

You can set `OPENAI_BASE_URL` in `~/.bashrc` as well.

### Basic Usage

Example 1, send prompt and return response:
Expand Down
2 changes: 2 additions & 0 deletions README_zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ from openai_api_call import request
request.bash_url = "https://api.example.com"
```

同样地,可以在环境变量指定 `OPENAI_BASE_URL` 来自动设置。

### 基本使用

示例一,发送 prompt 并返回信息:
Expand Down
2 changes: 1 addition & 1 deletion openai_api_call/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

__author__ = """Rex Wang"""
__email__ = '1073853456@qq.com'
__version__ = '0.3.9'
__version__ = '0.3.10'

import os
from .chattool import Chat, Resp, chat_completion, usage_status
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
with open('README.md') as readme_file:
readme = readme_file.read()

VERSION = '0.3.9'
VERSION = '0.3.10'

requirements = ['Click>=7.0', 'requests>=2.20']

Expand Down

0 comments on commit 1231566

Please sign in to comment.