Skip to content

Commit

Permalink
update version
Browse files Browse the repository at this point in the history
  • Loading branch information
RexWzh committed Nov 1, 2023
1 parent c03319e commit a8726fc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion chattool/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

__author__ = """Rex Wang"""
__email__ = '[email protected]'
__version__ = '2.3.3'
__version__ = '2.3.4'

import os, sys, requests
from .chattool import Chat, Resp
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 = '2.3.3'
VERSION = '2.3.4'

requirements = [
'Click>=7.0', 'requests>=2.20', "responses>=0.23",
Expand Down
2 changes: 1 addition & 1 deletion tests/test_async.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def test_normal_process():
chkpoint = testpath + "test_nomal.jsonl"
def data2chat(data):
chat = Chat(data)
chat.getresponse()
chat.getresponse(max_requests=3)
return chat
t = time.time()
process_chats(chatlogs, data2chat, chkpoint, clearfile=True)
Expand Down
2 changes: 1 addition & 1 deletion tests/test_function.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def test_add_and_mult():
chat.name2func = {'add': add} # dictionary of functions
chat.function_call = 'auto' # auto decision
# run until success: maxturns=-1
chat.autoresponse(max_requests=2, display=True, maxturns=-1)
chat.autoresponse(max_requests=2, display=True)
# response should be finished
chat.simplify()
chat.print_log()
Expand Down

0 comments on commit a8726fc

Please sign in to comment.