Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up GitHub Workflows (#3059) #1

Merged
merged 38 commits into from
Apr 26, 2023

Conversation

misterak8
Copy link
Owner

@misterak8 misterak8 commented Apr 24, 2023

Changes
Added comments to 'check_requirements.py' script to improve readability and understanding of the code.

Comments include:
Comments explaining the logic and functionality of the different parts of the script, including how it extracts required package names, finds missing packages, and prints the results.

Documentation
In-code comments explaining code flow added to 'check_requirements.py' to improve readability for novice coders.

Test Plan
No changes made to the test plan.

PR Quality Checklist
✓ My pull request is atomic and focuses on a single change.
I have thoroughly tested my changes with multiple different prompts.
✓ I have considered potential risks and mitigations for my changes.
✓ I have documented my changes clearly and comprehensively.
I have not snuck in any "extra" small tweaks changes.

Pwuts and others added 4 commits April 24, 2023 18:03
* initial cleanup of github workflows

* only run pr-label workflow on push to master

* move docker ci/release summaries to scripts

* add XS label for PR's under 2 lines

* draft test job for Docker CI

* fix & activate Docker CI test job

* add debug step to docker CI

* fix Docker CI test container env

* Docker CI build matrix

* fixup build summaries

* fix pipes in summary

* optimize Dockerfile for layer caching

* more markdown escaping

* add gha cache scopes

* add Docker CI cache clean workflow
Co-authored-by: Reinier van der Leer <github@pwuts.nl>
@misterak8
Copy link
Owner Author

Changes
Added comments to 'check_requirements.py' script to improve readability and understanding of the code.

Comments include:
Comments explaining the logic and functionality of the different parts of the script, including how it extracts required package names, finds missing packages, and prints the results.

Documentation
In-code comments explaining code flow added to 'check_requirements.py' to improve readability for novice coders.

Test Plan
No changes made to the test plan.

PR Quality Checklist
✓ My pull request is atomic and focuses on a single change.
I have thoroughly tested my changes with multiple different prompts.
✓ I have considered potential risks and mitigations for my changes.
✓ I have documented my changes clearly and comprehensively.
I have not snuck in any "extra" small tweaks changes.

ntindle and others added 25 commits April 24, 2023 13:55
…ath-windows

Error if null bytes are included in the path on windows
* Update Python version and benchmark file in benchmark.yml

* Refactor main function and imports in cli.py

* Update import statement in ai_config.py

* Add set_temperature and set_memory_backend methods in config.py

* Remove unused import in prompt.py

* Add goal oriented tasks workflow

* Added agent_utils to create agent

* added pytest and vcrpy

* added write file cassette

* created goal oriented task write file with cassettes to not pay openai tokens

* solve conflicts

* add ability set azure because github workflow needs it off

* solve conflicts in cli.py

* black because linter fails

* solve conflict

* setup github action to v3

Signed-off-by: Merwane Hamadi <merwanehamadi@gmail.com>

* fix conflicts

Signed-off-by: Merwane Hamadi <merwanehamadi@gmail.com>

* Plugins: debug line always printed in plugin load

* add decorator to tests

Signed-off-by: Merwane Hamadi <merwanehamadi@gmail.com>

* move decorator higher up

Signed-off-by: Merwane Hamadi <merwanehamadi@gmail.com>

* init

* more tests

* passing tests

* skip gitbranch decorator on ci

* decorator skiponci

* black

* Update tests/utils.py decorator of skipping ci

Co-authored-by: Nicholas Tindle <nicktindle@outlook.com>

* black

* I oopsed the name

* black

* finally

* simple tests for agent and manager

* ísort

---------

Signed-off-by: Merwane Hamadi <merwanehamadi@gmail.com>
Co-authored-by: Merwane Hamadi <merwanehamadi@gmail.com>
Co-authored-by: Merwane Hamadi <merwane.hamadi@redica.com>
Co-authored-by: Richard Beales <rich@richbeales.net>
Co-authored-by: Nicholas Tindle <nick@ntindle.com>
Co-authored-by: BillSchumacher <34168009+BillSchumacher@users.noreply.github.com>
Co-authored-by: Nicholas Tindle <nicktindle@outlook.com>
…around-entry-point

Add indirection layer to entry point
* anontation fix

* fix param name and type

---------

Co-authored-by: Richard Beales <rich@richbeales.net>
* Add indirection layer to entry point

* Get around singleton pattern for AgentManager to fix tests
* Remove dead permanent memory module

* Delete sqlite db that snuck in
Co-authored-by: Nicholas Tindle <nick@ntindle.com>
This properly resets the terminal, ensuring that the red text is red and
the normal text remains unaffected.

Co-authored-by: Richard Beales <rich@richbeales.net>
* add Dev Container installation instruction to installation.md

* add Dev Container installation instruction to installation.md

* Update installation.md

---------

Co-authored-by: Richard Beales <rich@richbeales.net>
* Decouple logging from the global configuration

* Configure logging first

* Clean up global voice engine creation

* Remove class vars from logger

* Remove duplicate implementation of

---------

Co-authored-by: Richard Beales <rich@richbeales.net>
* Feature: Added Self Feedback

* minor fix: complied to flake8

* Add: Self Feedback To Usage.md

* Add: role/goal allignment

* Added: warning to usage.md

* fix: Formatted with black

---------

Co-authored-by: Richard Beales <rich@richbeales.net>
Pwuts and others added 9 commits April 25, 2023 10:05
* Extract retry logic, unify embedding functions

* Add some docstrings

* Remove embedding creation from API manager

* Add test suite for retry handler

* Make api manager fixture

* Fix typing

* Streamline tests
…iving 'None' in return always otherise - not ideal (#3212)

Co-authored-by: James Collins <collijk@uw.edu>
@misterak8 misterak8 added the documentation Improvements or additions to documentation label Apr 26, 2023
@misterak8 misterak8 merged commit 1fd604d into misterak8:master Apr 26, 2023
misterak8 added a commit that referenced this pull request Apr 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.