Soulter / hugging-chat-api

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

switch_llm not working #190

Closed shirindehghani closed 6 months ago

shirindehghani commented 8 months ago

Describe the bug Hello. I hope you are well and healthy.

It seems that the switch_llm function is not working properly and is unable to change the model.

Whitelisted1 commented 8 months ago

After you use the chatbot.switch_llm(index) function you need to make sure you create a new conversation to actually use it. If you want a one-liner, you could use chatbot.new_conversation(switch_to=True, modelIndex=index).

github-actions[bot] commented 6 months ago

This issue was marked as stale because of inactivity.

github-actions[bot] commented 6 months ago

This issue was closed because of inactivity.