Skip to content
Draft
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/generate-openapi-code-from-typespec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,12 @@ jobs:
with:
python-version: "3.12"

- name: Generate openapi code
- name: Ensure openapi code is fresh
run: |
cd typespec; npm ci; cd -
export PATH=$PATH:$PWD/typespec/node_modules/.bin
bash scripts/generate_openapi_code.sh
git diff --exit-code

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down
7 changes: 7 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
repos:
- repo: local
hooks:
- id: codegen-freshness
language: system
entry: bash -c "scripts/generate_openapi_code.sh && git diff --exit-code"
pass_filenames: false
1 change: 1 addition & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ To get a comprehensive understanding of Julep, we recommend exploring the codeba

1. **Set Up Development Environment**
- Clone the repository
- Install pre-commit and enable hooks: `pip install pre-commit && pre-commit install`
- Install Docker and Docker Compose
- Set up necessary API keys and environment variables

Expand Down
33 changes: 33 additions & 0 deletions deploy/docker-compose.dev.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: julep-dev
include:
- ../agents-api/docker-compose.yml
- ../memory-store/docker-compose.yml
- ../scheduler/docker-compose.yml
- ../llm-proxy/docker-compose.yml
- ../integrations-service/docker-compose.yml
services:
agents-api:
profiles: [""]
worker:
profiles: [""]
memory-store:
profiles: [""]
vectorizer-worker:
profiles: [""]
integrations:
profiles: [""]
temporal:
profiles: [""]
depends_on:
temporal-db:
condition: service_started
temporal-db:
profiles: [""]
temporal-ui:
profiles: [""]
litellm:
profiles: [""]
litellm-db:
profiles: [""]
litellm-redis:
profiles: [""]
2 changes: 2 additions & 0 deletions poe_tasks.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[tasks.dev-up]
shell = "docker compose -f deploy/docker-compose.dev.yaml --env-file .env up --build"
Loading