File tree Expand file tree Collapse file tree 6 files changed +12
-5
lines changed Expand file tree Collapse file tree 6 files changed +12
-5
lines changed Original file line number Diff line number Diff line change 7676## v0.1.3
7777
7878** What's new?**
79- - Invalid response - ** fixed**
79+ - Invalid response - ** fixed**
80+
81+ ## v0.1.4
82+
83+ ** What's new?**
84+ - Incomplete response - ** fixed**
Original file line number Diff line number Diff line change 88<a href="https://github.com/Simatwa/python-tgpt/actions/workflows/python-test.yml"><img src="https://github.com/Simatwa/python-tgpt/actions/workflows/python-test.yml/badge.svg" alt="Python Test"/></a>
99-->
1010<a href =" https://github.com/Simatwa/python-tgpt/blob/main/LICENSE " ><img alt =" License " src =" https://img.shields.io/static/v1?logo=GPL&color=Blue&message=MIT&label=License " /></a >
11- <a href =" https://pypi.org/project/python-tgpt " ><img alt =" PyPi " src =" https://img.shields.io/static/v1?logo=pypi&label=Pypi&message=v0.1.3 &color=green " /></a >
11+ <a href =" https://pypi.org/project/python-tgpt " ><img alt =" PyPi " src =" https://img.shields.io/static/v1?logo=pypi&label=Pypi&message=v0.1.4 &color=green " /></a >
1212<a href =" https://github.com/psf/black " ><img alt =" Black " src =" https://img.shields.io/static/v1?logo=Black&label=Code-style&message=Black " /></a >
1313<a href =" # " ><img alt =" Passing " src =" https://img.shields.io/static/v1?logo=Docs&label=Docs&message=Passing&color=green " /></a >
1414<a href =" https://github.com/Simatwa/python-tgpt/actions/workflows/python-package.yml " ><img src =" https://github.com/Simatwa/python-tgpt/actions/workflows/python-package.yml/badge.svg " /></a >
@@ -64,7 +64,7 @@ The name *python-tgpt* draws inspiration from its parent project [tgpt](https://
6464
6565### Installation
6666
67- Download binaries for your system from [ here.] ( https://github.com/Simatwa/python-tgpt/releases/tag/v0.1.3 )
67+ Download binaries for your system from [ here.] ( https://github.com/Simatwa/python-tgpt/releases/latest/ )
6868
6969Alternatively, you can install non-binaries. * (Recommended)*
7070
Original file line number Diff line number Diff line change 1212
1313setup (
1414 name = "python-tgpt" ,
15- version = "0.1.3 " ,
15+ version = "0.1.4 " ,
1616 license = "MIT" ,
1717 author = "Smartwa" ,
1818 maintainer = "Smartwa" ,
Original file line number Diff line number Diff line change 44from .utils import Conversation
55from .utils import AwesomePrompts
66
7- __version__ = "0.1.3 "
7+ __version__ = "0.1.4 "
88__author__ = "Smartwa"
99__repo__ = "https://github.com/Simatwa/python-tgpt"
1010
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ def __init__(
2727 self .image_gen_endpoint = "https://api.craiyon.com/v3"
2828 self .image_down_endpoint = "https://img.craiyon.com/"
2929 self .headers = {
30+ "Accept-Encoding" : "gzip, deflate, br" ,
3031 "Content-Type" : "application/json" ,
3132 "User-Agent" : "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:99.0) Gecko/20100101 Firefox/110.0" ,
3233 }
Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ def __init__(
5757 "Content-Type" : "application/json" ,
5858 "accept" : "text/event-stream" ,
5959 "x-brave-key" : brave_key ,
60+ "accept-language" : "en-US,en;q=0.9" ,
6061 "User-Agent" : "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:99.0) Gecko/20100101 Firefox/110.0" ,
6162 }
6263 self .__available_optimizers = (
You can’t perform that action at this time.
0 commit comments