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

Pyre #55

Open
wants to merge 109 commits into
base: main
Choose a base branch
from
Open

Pyre #55

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
109 commits
Select commit Hold shift + click to select a range
f8b0a6c
fix format
Oct 10, 2023
3e99482
working better
Oct 1, 2023
5bf77fc
use images
Oct 1, 2023
ba278e8
update ports
Oct 1, 2023
e93a685
work in progress
Oct 2, 2023
8b43cda
lock
Oct 2, 2023
712740f
update
Oct 2, 2023
bc543e0
act base
Oct 2, 2023
dec467f
dockerbuild
Oct 2, 2023
68d97b0
working first build
Oct 2, 2023
efefdd6
v1
Oct 2, 2023
271e710
push
Oct 2, 2023
faebef6
building autogpt in 12 seconds
Oct 3, 2023
80f985e
now building
Oct 3, 2023
bb65c8f
update
Oct 3, 2023
fc74651
Update pipeline.yml
jmikedupont2 Oct 3, 2023
3d96c18
blac
Oct 3, 2023
2c6699e
its building
Oct 3, 2023
9c8c8d5
update docker
Oct 3, 2023
ae24fe9
update
Oct 4, 2023
b0ec1a6
Update pipeline.yml
jmikedupont2 Oct 4, 2023
0bf5eb8
bugfix
jmikedupont2 Oct 2, 2023
1f598b0
you are the metagpt
Oct 4, 2023
0261e48
work in progress
Oct 2, 2023
739ccf6
dockerbuild
Oct 2, 2023
815bb5c
now building
Oct 3, 2023
1469a31
blac
Oct 3, 2023
0f82de7
adding ignore
Oct 11, 2023
7d5a08a
now building and running locally
Oct 11, 2023
ab52edc
the docker controller
Oct 11, 2023
2fd15b4
update submodules
Oct 11, 2023
334194d
update
Oct 12, 2023
e89d752
adding langchain
Oct 12, 2023
cc6985c
update bench
Oct 13, 2023
78d854e
adding active submodule to the arena
Oct 14, 2023
c8409a8
adding in more
Oct 14, 2023
4838e5a
first build
Oct 15, 2023
33ec636
autogpt turbo starting to build
Oct 15, 2023
b88a42b
build working with turbo
Oct 15, 2023
cb5c0c7
updating submodules
Oct 15, 2023
04d2ea5
parking changes
Oct 15, 2023
ce4a693
first one starting to work
Oct 15, 2023
8acf7e2
update sub branch
Oct 15, 2023
eae4192
docker compose working
Oct 15, 2023
6cf934d
the aj version is working
Oct 15, 2023
82934d1
adding babyagi
Oct 15, 2023
c2c67ad
adding scott
Oct 15, 2023
daa901b
adding autogpt-trading
Oct 15, 2023
7df95f5
adding polygpt-alpha and sharing templates
Oct 16, 2023
e458fde
starting to run the agency more work to do
Oct 16, 2023
134edfc
now jarvi is running
Oct 16, 2023
8245873
adding the run log
Oct 16, 2023
5106807
fixing bug in the agency
Oct 17, 2023
df69908
adding the leader is bord
Oct 17, 2023
cf5fdd2
contenders
Oct 18, 2023
a7712e6
ghost coder is now working, agent protocol running
Oct 19, 2023
638883a
getting the agency running!
Oct 19, 2023
8e844a0
pyre
Oct 19, 2023
a684a97
functioncounts
Oct 19, 2023
8e418a8
update
Oct 20, 2023
f435548
update
Oct 20, 2023
bf644ce
Created using Colaboratory
jmikedupont2 Oct 20, 2023
6165c7b
sharing first data
Oct 20, 2023
1b67309
adding batsy
Oct 20, 2023
c8286e1
new submodules
Oct 20, 2023
017c0c9
new reporting coming
Oct 20, 2023
3c9dbe2
adding in reports
Oct 20, 2023
0244e19
Created using Colaboratory
jmikedupont2 Oct 20, 2023
28d41b2
Created using Colaboratory
jmikedupont2 Oct 20, 2023
d737db4
adding function counts
Oct 20, 2023
5a48d6d
adding caller
Oct 20, 2023
875fa09
adding conversational agent
Oct 21, 2023
6128611
v1
Oct 21, 2023
83ba234
adding static
Oct 21, 2023
eb9d44e
Update python-package.yml
jmikedupont2 Oct 21, 2023
89fbea9
adding graphs-a
Oct 21, 2023
af8e85c
adding graphs
Oct 21, 2023
3bafd29
adding index
Oct 21, 2023
b5a978a
update
Oct 21, 2023
1c3c6b6
update
Oct 21, 2023
6a96e53
strong components
Oct 21, 2023
e1daadc
index
Oct 21, 2023
186f261
update-a
Oct 21, 2023
acbc543
index
Oct 21, 2023
a115f49
index
Oct 21, 2023
54ff8ce
adding readme
Oct 21, 2023
3a34c55
adding sheet
Oct 22, 2023
45e70d6
update
Oct 22, 2023
bbdaa23
now using org-ai
Oct 22, 2023
f82fc16
using org-ai
Oct 22, 2023
d721ed7
adding the kindergarten
Oct 22, 2023
9968637
adding update
Oct 22, 2023
8b81046
adding tonic
Oct 22, 2023
f71bc25
update-a
Oct 22, 2023
8dba114
update
Oct 22, 2023
6d8168c
update
Oct 22, 2023
ff44e3c
update callgraph
Oct 22, 2023
997c45f
update graphs
Oct 22, 2023
448caa4
run tonic
Oct 22, 2023
442dea9
index
Oct 22, 2023
d9050a0
index
Oct 22, 2023
7439482
send it
Oct 22, 2023
a61d112
update
Oct 22, 2023
b196b7c
addning new helper
Oct 22, 2023
2429f0f
pandas ai
Oct 22, 2023
55d6d6b
adding report
Oct 22, 2023
285707c
adding report
Oct 22, 2023
ab709b8
adding report
Oct 22, 2023
59da15c
enought for today
Oct 22, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 4 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.env
.env~
.secrets
.secrets~
112 changes: 112 additions & 0 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
name: Pipeline

on: push

jobs:
code-quality:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
# - name: Setup Python
# uses: actions/setup-python@v4
# with:
# python-version: 3.10.12
- name: Install Poetry
uses: snok/install-poetry@v1
with:
version: 1.4.1
virtualenvs-in-project: true
- name: Load cached venv
id: cached-poetry-dependencies
uses: actions/cache@v3
with:
path: .venv
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
- name: Install dependencies
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
run: |
poetry install --no-interaction --no-root
- name: pylint
run: |
source .venv/bin/activate
pylint build tests
- name: black
run: |
source .venv/bin/activate
black --check .

run-tests:
needs: code-quality
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
# - name: Setup Python
# uses: actions/setup-python@v4
# with:
# python-version: 3.10.12
- name: Install Poetry
uses: snok/install-poetry@v1
with:
version: 1.4.1
virtualenvs-in-project: true
- name: Load cached venv
id: cached-poetry-dependencies
uses: actions/cache@v3
with:
path: .venv
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
- name: Install dependencies
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
run: |
poetry install --no-interaction --no-root
- name: Run all tests with pytest
run: |
source .venv/bin/activate
pytest --cov
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}

publish-all-images:
needs: run-tests
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Get Git Commit Tag Name
uses: olegtarasov/[email protected]
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
# - name: Setup Python
# uses: actions/setup-python@v4
# with:
# python-version: 3.10.12
- name: Install Poetry
uses: snok/install-poetry@v1
with:
version: 1.4.1
virtualenvs-in-project: true
- name: Load cached venv
id: cached-poetry-dependencies
uses: actions/cache@v3
with:
path: .venv
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
- name: Install dependencies
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
run: |
poetry install --no-interaction --no-root
- name: Publish Image to Docker Hub
env:
DOCKER_HUB_USERNAME: ${{ secrets.DOCKER_HUB_USERNAME }}
DOCKER_HUB_PASSWORD: ${{ secrets.DOCKER_HUB_PASSWORD }}
run: |
source .venv/bin/activate
python -m build.publish
34 changes: 27 additions & 7 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,28 +13,48 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.10"]
python-version: [ "3.x"]
steps:
- uses: actions/checkout@v3
- name: Checkout repository
uses: actions/checkout@master
with:
submodules: 'true'
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
#- name: Set up Python ${{ matrix.python-version }}
#3 uses: actions/setup-python@v3
# with:
# architecture: x64
# python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
#python -m pip install flake8 pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
pip install podman-compose
#- name: Lint with flake8
# run: |
# flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Docker Compose Action
uses: isbang/compose-action@v1.5.1
- name: Docker Compose Action build
#uses: meta-introspector/compose-action@main
env:
GITHUB_PAT: ${{ secrets.PAT }}
GITHUB_REPO: "jmikedupont2/ai-ticket"
run: docker-compose build


- name: create openai
env:
GITHUB_PAT: ${{ secrets.PAT }}
GITHUB_REPO: "jmikedupont2/ai-ticket"
run: |
GITHUB_PAT=${{ secrets.PAT }} GITHUB_REPO="jmikedupont2/ai-ticket" docker-compose up -d mockopenai

- name: run autogpt
env:
GITHUB_PAT: ${{ secrets.PAT }}
GITHUB_REPO: "jmikedupont2/ai-ticket"
run: |
GITHUB_PAT=${{ secrets.PAT }} GITHUB_REPO="jmikedupont2/ai-ticket" docker-compose run autogpt


43 changes: 43 additions & 0 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Simple workflow for deploying static content to GitHub Pages
name: Deploy static content to Pages

on:
# Runs on pushes targeting the default branch
push:
branches: ["pyre"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false

jobs:
# Single deploy job since we're just deploying
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
# Upload entire repository
path: '.'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -160,4 +160,7 @@ cython_debug/
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/

*~
*~
/dckr_pat_.txt
/github_pat.txt
/.secrets
Loading