Skip to content

Commit

Permalink
upgrade pandora-cloud
Browse files Browse the repository at this point in the history
Signed-off-by: pengzhile <[email protected]>
  • Loading branch information
pengzhile committed May 5, 2023
1 parent 6e4387b commit 573e22b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
install_requires=requirements,
extras_require={
'api': requirements_api,
'cloud': ['pandora-cloud~=0.0.7'],
'cloud': ['pandora-cloud~=0.1.0'],
},
entry_points={
'console_scripts': [
Expand Down
2 changes: 1 addition & 1 deletion src/pandora/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# -*- coding: utf-8 -*-

__version__ = '1.0.10'
__version__ = '1.0.11'
2 changes: 1 addition & 1 deletion src/pandora/bots/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ def list_models(self):
return self.__proxy_result(self.chatgpt.list_models(True, self.__get_token_key()))

def list_conversations(self):
offset = request.args.get('offset', '1')
offset = request.args.get('offset', '0')
limit = request.args.get('limit', '20')

return self.__proxy_result(self.chatgpt.list_conversations(offset, limit, True, self.__get_token_key()))
Expand Down

0 comments on commit 573e22b

Please sign in to comment.