julep-ai / julep

Build AI agents and workflows with a simple API. Supabase for AI agents
https://julep.ai
Apache License 2.0
883 stars 69 forks source link

chore: update models.tsp #549

Open eltociear opened 1 day ago

eltociear commented 1 day ago

overriden -> overridden


[!IMPORTANT] Fixes typo in comment within FunctionDef model in models.tsp.

  • Typo Fix:
    • Corrects typo in comment within FunctionDef model in models.tsp: "overriden" to "overridden".

This description was created by Ellipsis for 5fe73360e581f2dd162f3286a749c26bfbba2b63. It will automatically update as commits are pushed.

creatorrr commented 1 day ago

@eltociear awesome! can you also please add a github action that runs bash scripts/generate_openapi_code.sh on push ?

eltociear commented 1 day ago

@creatorrr Is the following correct?

https://github.com/julep-ai/julep/pull/549/commits/1176d23e11165f6f0dd3c1030be2a6412b11b9f9

creatorrr commented 1 day ago

No, you'd have to install all of the dependencies needed (npm, typescript, python, poetry, agents_api dependencies) and then make sure that the result is committed back. Something like this:


      - uses: actions/setup-python@v5
        with:
          python-version: "3.12"

      - name: Install and configure Poetry
        uses: snok/install-poetry@v1

      - name: Configure Poetry to use .venv
        run: |
          cd agents-api
          poetry config virtualenvs.in-project true

      - name: Cache Poetry virtualenv
        uses: actions/cache@v4
        with:
          path: agents-api/.venv
          key: ${{ runner.os }}-agents-api-poetry-${{ hashFiles('agents-api/poetry.lock') }}
          restore-keys: |
            ${{ runner.os }}-agents-api-poetry-

      - name: Install dependencies
        run: |
          cd agents-api
          poetry install

      ### Install npm / typespec etc

      ### Run the script after this

      - uses: stefanzweifel/git-auto-commit-action@v4
        with:
          commit_message: "refactor: Lint agents-api (CI)"
          branch: ${{ github.head_ref }}

concurrency:
  group: ${{ github.workflow }}-${{ github.ref }}
  cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}