Soulter / hugging-chat-api

HuggingChat Python API🤗
GNU Affero General Public License v3.0
859 stars 123 forks source link

ChatBot.query() takes 1 positional argument but 2 were given (After update) #255

Closed daniel13306 closed 3 months ago

daniel13306 commented 3 months ago

Describe the bug ChatBot.query() takes 1 positional argument but 2 were given (After most recent update) Please note i removed the old syntax, i only have a string in the query right now.

To Reproduce query_result = ChatBot.query(fullmsg) (Fullmsg is a string)

Expected behavior Respond like it always did.

Additional context OS: Debian PY 3.12 HC Version Newest update released 9hrs ago (0.4.11)

github-actions[bot] commented 3 months ago

Hi! Thanks for your issue, we will deal with your issue as soon as possible.

daniel13306 commented 3 months ago

image nvm, my fault.