diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9d2d263..bb77451 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,8 +20,6 @@ jobs: os: ubuntu-latest - python-version: 3.9 os: ubuntu-latest - - python-version: '3.10' - os: ubuntu-latest steps: - uses: actions/checkout@v2 diff --git a/openai_api_call/__init__.py b/openai_api_call/__init__.py index caf48e3..ad14275 100644 --- a/openai_api_call/__init__.py +++ b/openai_api_call/__init__.py @@ -2,7 +2,7 @@ __author__ = """Rex Wang""" __email__ = '1073853456@qq.com' -__version__ = '1.0.0' +__version__ = '1.0.1' import os, requests from .chattool import Chat, Resp diff --git a/setup.py b/setup.py index d07bb15..152d48e 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ with open('README.md') as readme_file: readme = readme_file.read() -VERSION = '1.0.0' +VERSION = '1.0.1' requirements = ['Click>=7.0', 'requests>=2.20', 'tqdm>=4.60', 'docstring_parser>=0.10', 'aiohttp>=3.8'] test_requirements = ['pytest>=3', 'unittest'] diff --git a/tests/test_async.py b/tests/test_async.py index 2a03fe2..a44122e 100644 --- a/tests/test_async.py +++ b/tests/test_async.py @@ -26,6 +26,4 @@ def data2chat(data): return chat t = time.time() process_chats(chatlogs, data2chat, chkpoint, clearfile=True) - print(f"Time elapsed: {time.time() - t:.2f}s") - -test_async_process() \ No newline at end of file + print(f"Time elapsed: {time.time() - t:.2f}s") \ No newline at end of file