summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/auto-comments.yml51
-rw-r--r--README.md6
-rw-r--r--g4f/__init__.py2
-rw-r--r--requirements.txt2
-rw-r--r--setup.py2
5 files changed, 57 insertions, 6 deletions
diff --git a/.github/workflows/auto-comments.yml b/.github/workflows/auto-comments.yml
new file mode 100644
index 00000000..98335275
--- /dev/null
+++ b/.github/workflows/auto-comments.yml
@@ -0,0 +1,51 @@
+name: Auto Comment
+on:
+ issues:
+ types:
+ - opened
+ - closed
+ - assigned
+ pull_request:
+ types:
+ - opened
+ - closed
+
+jobs:
+ run:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Auto Comment on Issues Opened
+ uses: wow-actions/auto-comment@v1
+ with:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ issuesOpened: |
+ πŸ‘‹ @{{ author }}
+ Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.
+ Please make sure you have given us as much context as possible.
+ - name: Auto Comment on Issues Closed
+ uses: wow-actions/auto-comment@v1
+ with:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ issuesClosed: |
+ πŸ‘‹ @{{ author }} This issue is closed.
+ - name: Auto Comment on Pull Request Merged
+ uses: wow-actions/auto-comment@v1
+ with:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ pullRequestMerged: |
+ πŸ‘‹ @{{ author }} πŸŽ‰ Congrats on your merged pull request! Thanks for the valuable contribution! πŸ‘πŸŽ‰ Congrats on your merged pull request! Thanks for the valuable contribution! πŸ‘
+ - name: Auto Comment on Pull Request Opened
+ uses: wow-actions/auto-comment@v1
+ with:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ pullRequestOpened: |
+ HelloπŸ‘‹ @{{ author }}, I hope you are doing well!
+ <br>
+ Thank you for raising your pull request and contributing to our Community πŸŽ‰
+ Please make sure you have followed our contributing guidelines. We will review it as soon as possible.
+ - name: Auto Comment on Issues Assigned
+ uses: wow-actions/auto-comment@v1
+ with:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ issuesAssigned: |
+ Hello @{{ author }}, thank you for raising an issue. πŸ™Œ I have assigned the issue to you. You can now start working on it. If you encounter any problems, please feel free to connect with us. πŸ‘
diff --git a/README.md b/README.md
index b4c5bf41..6edfc0b7 100644
--- a/README.md
+++ b/README.md
@@ -7,7 +7,7 @@
> By using this repository or any code related to it, you agree to the [legal notice](./LEGAL_NOTICE.md). The author is not responsible for any copies, forks, re-uploads made by other users, or anything else related to GPT4Free. This is the author's only account and repository. To prevent impersonation or irresponsible actions, please comply with the GNU GPL license this Repository uses.
> **Note**
-> Latest pypi version: [`0.1.7.8`](https://pypi.org/project/g4f/0.1.7.8)
+> Latest pypi version: [`0.1.7.9`](https://pypi.org/project/g4f/0.1.7.9)
```sh
pip install -U g4f
```
@@ -253,7 +253,7 @@ response = g4f.ChatCompletion.create(
##### Async Support:
-To enhance speed and overall performance, execute providers asyncronously.
+To enhance speed and overall performance, execute providers asynchronously.
The total execution time will be determined by the duration of the slowest provider's execution.
```py
@@ -607,7 +607,7 @@ for message in response:
## Contributors
A list of the contributors is available [here](https://github.com/xtekky/gpt4free/graphs/contributors)
-The [`Vercel.py`](https://github.com/xtekky/gpt4free/blob/main/g4f/Provider/Vercel.py) file contains code from [vercel-llm-api](https://github.com/ading2210/vercel-llm-api) by [@ading2210](https://github.com/ading2210), which is licenced under the [GNU GPL v3](https://www.gnu.org/licenses/gpl-3.0.txt)
+The [`Vercel.py`](https://github.com/xtekky/gpt4free/blob/main/g4f/Provider/Vercel.py) file contains code from [vercel-llm-api](https://github.com/ading2210/vercel-llm-api) by [@ading2210](https://github.com/ading2210), which is licensed under the [GNU GPL v3](https://www.gnu.org/licenses/gpl-3.0.txt)
Top 1 Contributor: [@hlohaus](https://github.com/hlohaus)
## Copyright
diff --git a/g4f/__init__.py b/g4f/__init__.py
index e6c27d50..a2eec9e2 100644
--- a/g4f/__init__.py
+++ b/g4f/__init__.py
@@ -5,7 +5,7 @@ from .Provider import BaseProvider, RetryProvider
from .typing import Messages, CreateResult, Union, List
from . import debug
-version = '0.1.7.8'
+version = '0.1.7.9'
version_check = True
def check_pypi_version() -> None:
diff --git a/requirements.txt b/requirements.txt
index ed0d6e4b..3ef9b32e 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -6,7 +6,7 @@ certifi
browser_cookie3
websockets
js2py
-flask
+flask[async]
flask-cors
typing-extensions
PyExecJS
diff --git a/setup.py b/setup.py
index f132f8b1..116213fc 100644
--- a/setup.py
+++ b/setup.py
@@ -11,7 +11,7 @@ with codecs.open(os.path.join(here, "README.md"), encoding="utf-8") as fh:
with open("requirements.txt") as f:
required = f.read().splitlines()
-VERSION = "0.1.7.8"
+VERSION = "0.1.7.9"
DESCRIPTION = (
"The official gpt4free repository | various collection of powerful language models"
)