Simatwa / python-tgpt

AI Chat in Terminal + Package + REST-API
https://python-tgpt.onrender.com
MIT License
102 stars 15 forks source link

[BUG]: LEO NOT WORKING #54

Closed AmmuBhai22 closed 2 months ago

AmmuBhai22 commented 2 months ago

When using brave leo in python tgpt it gives:-

I'm unable to answer your query as your version of Brave is too out of date. Please update your browser.

Desktop (please complete the following information):

Also I have tried to took only a part of leo code and this is the json I found as a result after much debugging your code:-

{"completion":"I'm unable to answer your query as your version of Brave is too out of date. Please update your browser.","stop_reason":null,"truncated":false,"stop":null,"model":"llama-2-13b-chat","log_id":"cmpl-aG244Co4GSo2br8x9kJPzz","exception":null}

Simatwa commented 2 months ago

As it stands we can say LEO is no longer supported. This obeys its provider's request to do so. Refer to https://github.com/aandrew-me/tgpt/issues/199#issuecomment-1907808474