Skip to content

Commit

Permalink
Minor fix - Phind. Resolves #21
Browse files Browse the repository at this point in the history
  • Loading branch information
Simatwa committed Feb 3, 2024
1 parent 9797a99 commit 8b70c3c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
8 changes: 7 additions & 1 deletion docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -298,4 +298,10 @@ Assume role of the LLM and give your response.*

- Phind fixed. #21
- Bard fixed. #23 #15
- Full and minimal executables.
- Full and minimal executables.

## v0.3.8

**What's new?**

- Phind fixed. #https://github.com/Simatwa/python-tgpt/issues/21#issuecomment-1925326331
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

setup(
name="python-tgpt",
version="0.3.8",
version="0.3.9",
license="MIT",
author="Smartwa",
maintainer="Smartwa",
Expand Down
2 changes: 1 addition & 1 deletion src/pytgpt/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from .utils import appdir
import g4f

__version__ = "0.3.8"
__version__ = "0.3.9"
__author__ = "Smartwa"
__repo__ = "https://github.com/Simatwa/python-tgpt"

Expand Down
1 change: 0 additions & 1 deletion src/pytgpt/phind/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,6 @@ def for_stream():
):
try:
modified_value = re.sub("data:", "", value)
print(modified_value)
json_modified_value = json.loads(modified_value)
retrieved_text = self.get_message(json_modified_value)
if not retrieved_text:
Expand Down

0 comments on commit 8b70c3c

Please # to comment.