From 1c8bf4e11050756225450a0f8378eb9a878de800 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 26 Mar 2022 03:03:27 +0000 Subject: [PATCH 1/8] Bump pillow from 9.0.0 to 9.0.1 Bumps [pillow](https://github.com/python-pillow/Pillow) from 9.0.0 to 9.0.1. - [Release notes](https://github.com/python-pillow/Pillow/releases) - [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst) - [Commits](https://github.com/python-pillow/Pillow/compare/9.0.0...9.0.1) --- updated-dependencies: - dependency-name: pillow dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index b069a3d..7ab82c2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -26,7 +26,7 @@ multidict==5.1.0 numpy==1.21.1 oauthlib==3.1.1 packaging==21.0 -Pillow==9.0.0 +Pillow==9.0.1 protobuf==3.17.3 pyasn1==0.4.8 pyasn1-modules==0.2.8 From ee2629d56ca7bd43002452914effebb166ac8a19 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 20 Oct 2022 18:39:21 +0000 Subject: [PATCH 2/8] Bump joblib from 1.0.1 to 1.2.0 Bumps [joblib](https://github.com/joblib/joblib) from 1.0.1 to 1.2.0. - [Release notes](https://github.com/joblib/joblib/releases) - [Changelog](https://github.com/joblib/joblib/blob/master/CHANGES.rst) - [Commits](https://github.com/joblib/joblib/compare/1.0.1...1.2.0) --- updated-dependencies: - dependency-name: joblib dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 7ab82c2..cf138c8 100644 --- a/requirements.txt +++ b/requirements.txt @@ -20,7 +20,7 @@ google-auth-oauthlib==0.4.4 grpcio==1.39.0 huggingface-hub==0.0.12 idna==3.2 -joblib==1.0.1 +joblib==1.2.0 Markdown==3.3.4 multidict==5.1.0 numpy==1.21.1 From 0d9f8cbc19438a3e7d113c8d785048dd4e1eb7bc Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 20 Oct 2022 18:58:23 +0000 Subject: [PATCH 3/8] Bump protobuf from 3.17.3 to 3.18.3 Bumps [protobuf](https://github.com/protocolbuffers/protobuf) from 3.17.3 to 3.18.3. - [Release notes](https://github.com/protocolbuffers/protobuf/releases) - [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/generate_changelog.py) - [Commits](https://github.com/protocolbuffers/protobuf/compare/v3.17.3...v3.18.3) --- updated-dependencies: - dependency-name: protobuf dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index cf138c8..1845372 100644 --- a/requirements.txt +++ b/requirements.txt @@ -27,7 +27,7 @@ numpy==1.21.1 oauthlib==3.1.1 packaging==21.0 Pillow==9.0.1 -protobuf==3.17.3 +protobuf==3.18.3 pyasn1==0.4.8 pyasn1-modules==0.2.8 pycodestyle==2.7.0 From 88660511630d85be4d41380c20c18b9f2f1eb075 Mon Sep 17 00:00:00 2001 From: Katie M Date: Mon, 14 Nov 2022 19:29:39 -0500 Subject: [PATCH 4/8] Added intent of defaults+message_content for Discord to maintain compatibility with latest API. Also modified the call to get the chat history to fix a crash seen when running the code on Python v3.9.13 --- Bot/bot.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Bot/bot.py b/Bot/bot.py index c78503d..fd502d9 100644 --- a/Bot/bot.py +++ b/Bot/bot.py @@ -15,7 +15,9 @@ class ChatBot(discord.Client): def __init__(self, maxlines) -> None: self.model_name = "355M" # Overwrite with set_model_name() - super().__init__() + intents = discord.Intents.default() + intents.message_content = True + super().__init__(intents=intents) self.maxlines = maxlines #see comment on main.py line 33 async def on_ready(self) -> None: @@ -45,7 +47,7 @@ async def on_message(self, message: discord.Message) -> None: # Get last n messages, save them to a string to be used as prefix context = "" # TODO: make limit parameter # configurable through command line args - history = await message.channel.history(limit=9).flatten() + history = [message async for message in message.channel.history(limit=9)] history.reverse() # put in right order for msg in history: # "context" now becomes a big string containing the content only of the last n messages, line-by-line From 715d0147964d02c958119a8a573967bf1cf8055d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 18 Apr 2023 21:01:03 +0000 Subject: [PATCH 5/8] Bump torch from 1.9.0 to 1.13.1 Bumps [torch](https://github.com/pytorch/pytorch) from 1.9.0 to 1.13.1. - [Release notes](https://github.com/pytorch/pytorch/releases) - [Changelog](https://github.com/pytorch/pytorch/blob/main/RELEASE.md) - [Commits](https://github.com/pytorch/pytorch/compare/v1.9.0...v1.13.1) --- updated-dependencies: - dependency-name: torch dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 1845372..f1ec8ec 100644 --- a/requirements.txt +++ b/requirements.txt @@ -46,7 +46,7 @@ tensorboard-plugin-wit==1.8.0 termcolor==1.1.0 tokenizers==0.10.3 toml==0.10.2 -torch==1.9.0 +torch==1.13.1 torchmetrics==0.4.1 tqdm==4.61.2 transformers==4.9.0 From 0d6f4903d25494cb8b71b4a467bdd016be9f3e61 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 18 Apr 2023 21:49:19 +0000 Subject: [PATCH 6/8] Bump werkzeug from 2.0.1 to 2.2.3 Bumps [werkzeug](https://github.com/pallets/werkzeug) from 2.0.1 to 2.2.3. - [Release notes](https://github.com/pallets/werkzeug/releases) - [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst) - [Commits](https://github.com/pallets/werkzeug/compare/2.0.1...2.2.3) --- updated-dependencies: - dependency-name: werkzeug dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index f1ec8ec..db03807 100644 --- a/requirements.txt +++ b/requirements.txt @@ -52,5 +52,5 @@ tqdm==4.61.2 transformers==4.9.0 typing-extensions==3.10.0.0 urllib3==1.26.6 -Werkzeug==2.0.1 +Werkzeug==2.2.3 yarl==1.6.3 From 63bf87abca1e50f9dd1cb264cfac939b9be66e28 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 18 Apr 2023 22:30:54 +0000 Subject: [PATCH 7/8] Bump pytorch-lightning from 1.3.8 to 1.6.0 Bumps [pytorch-lightning](https://github.com/Lightning-AI/lightning) from 1.3.8 to 1.6.0. - [Release notes](https://github.com/Lightning-AI/lightning/releases) - [Changelog](https://github.com/Lightning-AI/lightning/blob/1.6.0/CHANGELOG.md) - [Commits](https://github.com/Lightning-AI/lightning/compare/1.3.8...1.6.0) --- updated-dependencies: - dependency-name: pytorch-lightning dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index db03807..ca1fc9a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -33,7 +33,7 @@ pyasn1-modules==0.2.8 pycodestyle==2.7.0 pyDeprecate==0.3.0 pyparsing==2.4.7 -pytorch-lightning==1.3.8 +pytorch-lightning==1.6.0 PyYAML==5.4.1 regex==2021.7.6 requests==2.26.0 From ce4176f451d1d7698ab6a8187d78be3e40bca2f8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 18 Apr 2023 22:39:52 +0000 Subject: [PATCH 8/8] Bump numpy from 1.21.1 to 1.22.0 Bumps [numpy](https://github.com/numpy/numpy) from 1.21.1 to 1.22.0. - [Release notes](https://github.com/numpy/numpy/releases) - [Changelog](https://github.com/numpy/numpy/blob/main/doc/RELEASE_WALKTHROUGH.rst) - [Commits](https://github.com/numpy/numpy/compare/v1.21.1...v1.22.0) --- updated-dependencies: - dependency-name: numpy dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index ca1fc9a..c57d693 100644 --- a/requirements.txt +++ b/requirements.txt @@ -23,7 +23,7 @@ idna==3.2 joblib==1.2.0 Markdown==3.3.4 multidict==5.1.0 -numpy==1.21.1 +numpy==1.22.0 oauthlib==3.1.1 packaging==21.0 Pillow==9.0.1