Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.
docs: add openapi sync to workflow actions (#827)
Charles Packer0b66bb484805
diff --git a/.github/workflows/rdme-openapi.yml b/.github/workflows/rdme-openapi.ymlnew file mode 100644index 000000000..50d2cb252--- /dev/null+++ b/.github/workflows/rdme-openapi.yml@@ -0,0 +1,52 @@+# This GitHub Actions workflow was auto-generated by the `rdme` cli on 2023-12-19T05:58:13.568Z+# You can view our full documentation here: https://docs.readme.com/docs/rdme+name: ReadMe GitHub Action (OpenAPI) π¦++on:+ push:+ branches:+ # This workflow will run every time you push code to the following branch: `main`+ # Check out GitHub's docs for more info on configuring this:+ # https://docs.github.com/actions/using-workflows/events-that-trigger-workflows+ - main++jobs:+ rdme-openapi:+ runs-on: ubuntu-latest+ steps:+ - name: Check out repo π+ uses: actions/checkout@v3++ - name: Set up Python+ uses: actions/setup-python@v4+ with:+ python-version: "3.11"++ - name: Install poetry+ run: pip install poetry++ - name: Set Poetry config+ run: |+ poetry config virtualenvs.in-project false+ poetry config virtualenvs.path ~/.virtualenvs++ - name: Install dependencies using Poetry+ run: |+ poetry install --all-extras++ - name: Set Poetry config+ run: |+ poetry config virtualenvs.in-project false+ poetry config virtualenvs.path ~/.virtualenvs++ - name: Generate openapi.json file+ run: |+ poetry run memgpt server+ CMD_PID=$!+ sleep 5 # Wait for 5 seconds+ kill -SIGINT $CMD_PID++ - name: Run `openapi` command π+ uses: readmeio/rdme@v8+ with:+ rdme: openapi openapi.json --key=${{ secrets.README_API_KEY }} --id=6581305097523b004eedfd16