diff --git a/sdks/python-client/dify_client/client.py b/sdks/python-client/dify_client/client.py index 1a8bc3602e..23f9b9c3ab 100644 --- a/sdks/python-client/dify_client/client.py +++ b/sdks/python-client/dify_client/client.py @@ -65,8 +65,8 @@ class ChatClient(DifyClient): return self._send_request("GET", "/messages", params=params) - def get_conversations(self, user, first_id=None, limit=None, pinned=None): - params = {"user": user, "first_id": first_id, "limit": limit, "pinned": pinned} + def get_conversations(self, user, last_id=None, limit=None, pinned=None): + params = {"user": user, "last_id": last_id, "limit": limit, "pinned": pinned} return self._send_request("GET", "/conversations", params=params) def rename_conversation(self, conversation_id, name, user): diff --git a/sdks/python-client/setup.py b/sdks/python-client/setup.py index 17ba87fde2..3d4e0b0bbd 100644 --- a/sdks/python-client/setup.py +++ b/sdks/python-client/setup.py @@ -5,7 +5,7 @@ with open("README.md", "r", encoding="utf-8") as fh: setup( name="dify-client", - version="0.1.7", + version="0.1.8", author="Dify", author_email="hello@dify.ai", description="A package for interacting with the Dify Service-API",