forked from yoheinakajima/babyagi
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🆕 chore(.pre-commit-config.yaml): add pre-commit hooks for trailing w…
…hitespace, end-of-file, yaml, large files, merge conflicts, debug statements, requirements.txt, black, isort, and flake8. Set max line length to 140 for flake8. 🎨 style(babyagi.py): format code with black 🔥 chore(babyagi.py): remove unused imports and variables ✨ feat(babyagi.py): add support for GPT-4 model 🐛 fix(babyagi.py): fix formatting and typos in print statements 🚀 perf(babyagi.py): optimize context_agent function for faster query results 👌 refactor(babyagi.py): refactor task_creation_agent function for readability 👌 refactor(babyagi.py): refactor prioritization_agent function for readability 👌 refactor(babyagi.py): refactor execution_agent function for readability 👌 refactor(babyagi.py): refactor context_agent function for readability 📝 docs(babyagi.py): add comments to explain code functionality 🎨 style(babyagi.py): fix indentation and add line breaks for readability 🔧 chore(requirements.txt): add pre-commit dependency to ensure code quality and consistency
- Loading branch information
Bujie Xu
committed
Apr 7, 2023
1 parent
479cbef
commit 3e1b9f3
Showing
3 changed files
with
123 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.4.0 | ||
hooks: | ||
- id: trailing-whitespace | ||
- id: end-of-file-fixer | ||
- id: check-yaml | ||
- id: check-added-large-files | ||
- id: check-merge-conflict | ||
- id: debug-statements | ||
- id: requirements-txt-fixer | ||
files: requirements.txt | ||
|
||
- repo: https://github.com/psf/black | ||
rev: 23.3.0 | ||
hooks: | ||
- id: black | ||
|
||
- repo: https://github.com/pycqa/isort | ||
rev: 5.11.5 | ||
hooks: | ||
- id: isort | ||
|
||
- repo: https://github.com/pycqa/flake8 | ||
rev: 6.0.0 | ||
hooks: | ||
- id: flake8 | ||
args: ["--max-line-length=140"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
openai==0.27.2 | ||
pinecone-client==2.2.1 | ||
python-dotenv==1.0.0 | ||
pre-commit>=3.2.0 | ||
python-dotenv==1.0.0 |