Skip to content
This repository has been archived by the owner on Jun 9, 2024. It is now read-only.

Combine all agents into one ci.yml #79

Conversation

waynehamadi
Copy link
Contributor

Background

Changes

PR Quality Checklist

  • I have run the following commands against my code to ensure it passes our linters:
    black .
    isort .
    mypy .
    autoflake --remove-all-unused-imports --recursive --ignore-init-module-imports --ignore-pass-after-docstring --in-place agbenchmark

Signed-off-by: Merwane Hamadi <merwanehamadi@gmail.com>
workflow_dispatch:
branches: [ master ]
schedule:
- cron: '0 8 * * *'
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can trigger the CI to test the agents against OpenAI or wait every 8 AM UTC

pip install ../../dist/*.whl

if [ "${GITHUB_EVENT_NAME}" == "schedule" ] || [ "${GITHUB_EVENT_NAME}" == "workflow_dispatch" ]; then
agbenchmark start --maintain
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this makes the call to the LLM

agbenchmark start --mock --category=interface
agbenchmark start --mock --category=code
agbenchmark start --mock --category=memory
agbenchmark start --mock --category=memory --category=code
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am testing our features by just using them

uses: actions/upload-artifact@v3
with:
name: gpt-engineer-projects
path: agent/gpt-engineer/projects
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

right now I only added the logs for gpt-engineer.

@waynehamadi waynehamadi marked this pull request as draft July 9, 2023 23:15
@waynehamadi waynehamadi marked this pull request as ready for review July 9, 2023 23:15
else
echo "Unknown agent name: $AGENT_NAME"
exit 1
fi
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will put these into a file called:
setup_auto-gpt.sh

and then dynamically call the right setup depending on the agent.

@SilenNaihin SilenNaihin self-requested a review July 10, 2023 00:33
@waynehamadi waynehamadi merged commit 0fa5286 into Significant-Gravitas:master Jul 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants