Skip to content

Commit 31691ce

Browse files
committed
Release v0.4.9
1 parent 2d44dae commit 31691ce

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed

docs/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -392,4 +392,12 @@ For instance:
392392

393393
- Execute scripts native interpreter - *rawdog*
394394
- Typos fixed.
395+
- Other minor fixes.
396+
397+
## v0.4.9
398+
399+
**What's new?**
400+
401+
- `webchatgpt` supports intro prompt.
402+
- Fix: placeholders consistency - `{{stream}}|{{copied}}`
395403
- Other minor fixes.

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636

3737
setup(
3838
name="python-tgpt",
39-
version="0.4.8",
39+
version="0.4.9",
4040
license="MIT",
4141
author="Smartwa",
4242
maintainer="Smartwa",

src/pytgpt/__init__.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
from .utils import appdir
22
import g4f
3+
from importlib import metadata
4+
5+
try:
6+
__version__ = metadata.version('python-tgpt')
7+
except metadata.PackageNotFoundError:
8+
__version__ = '0.0.0'
39

4-
__version__ = "0.4.8"
510
__author__ = "Smartwa"
611
__repo__ = "https://github.com/Simatwa/python-tgpt"
712

0 commit comments

Comments
 (0)