Skip to content

Commit 28a2bb2

Browse files
authored
Merge branch 'dev' into x/fix-queries
2 parents 37539cb + 8aa82e5 commit 28a2bb2

File tree

403 files changed

+48898
-17240
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

403 files changed

+48898
-17240
lines changed

Diff for: .env.example

+67-24
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
1+
# Image Tags
2+
# ----------
3+
4+
TAG=dev
5+
16
# Security
27
# --------
8+
9+
# Please set these access keys to something random and unique.
10+
# Note: For just testing, you can set them to the same value.
11+
12+
# On Linux, you can generate a random key with:
13+
# > openssl rand -base64 32
14+
# OR
15+
# > tr -dc 'A-Za-z0-9+_/' </dev/urandom | head -c 32; echo
16+
317
JWT_SHARED_KEY=<your_jwt_shared_key>
418
AGENTS_API_KEY=<your_agents_api_key>
519
COZO_AUTH_TOKEN=<your_cozo_auth_token>
@@ -8,35 +22,65 @@ LITELLM_POSTGRES_PASSWORD=<your_litellm_postgres_password>
822
LITELLM_MASTER_KEY=<your_litellm_master_key>
923
LITELLM_SALT_KEY=<your_litellm_salt_key>
1024
LITELLM_REDIS_PASSWORD=<your_litellm_redis_password>
25+
MAX_FREE_SESSIONS=50
26+
MAX_FREE_EXECUTIONS=50
1127

12-
# Memory Store
13-
# -----------
28+
# LLM Providers
29+
# --------------
1430

15-
# COZO_HOST=http://memory-store:9070
16-
# COZO_PORT=9070
17-
# COZO_ROCKSDB_DIR=cozo.db
18-
# COZO_BACKUP_DIR=/backup
19-
# COZO_MNT_DIR=/data
31+
### Recommended LLM Providers
2032

21-
# Gateway
22-
# ------
33+
# OPENAI_API_KEY=<your_openai_api_key>
34+
# VOYAGE_API_KEY=<your_voyage_api_key>
2335

24-
# GATEWAY_PORT=80
25-
# TRAEFIK_LOG_LEVEL=INFO
36+
# HUGGING_FACE_HUB_TOKEN=<your_hugging_face_hub_token>
37+
# ANTHROPIC_API_KEY=<your_anthropic_api_key>
38+
# OPENROUTER_API_KEY=<your_openrouter_api_key>
39+
# GROQ_API_KEY=<your_groq_api_key>
40+
# GEMINI_API_KEY=<your_gemini_api_key>
41+
# CLOUDFLARE_API_KEY=<your_cloudflare_api_key>
42+
# CLOUDFLARE_ACCOUNT_ID=<your_cloudflare_account_id>
43+
# NVIDIA_NIM_API_KEY=<your_nvidia_nim_api_key>
44+
# GITHUB_API_KEY=<your_github_api_key>
45+
# GOOGLE_APPLICATION_CREDENTIALS=.keys/julep-vertexai-svc.json
2646

2747
# Agents API
2848
# ---------
2949

50+
### Embedding Model
51+
### > Set to either "voyage/voyage-3" or "Alibaba-NLP/gte-large-en-v1.5"
52+
### > Use Alibaba-NLP/gte-large-en-v1.5 with local embedding server
53+
54+
# EMBEDDING_MODEL_ID=voyage/voyage-3
55+
# EMBEDDING_MODEL_ID=Alibaba-NLP/gte-large-en-v1.5
56+
3057
# AGENTS_API_HOSTNAME=localhost
3158
# AGENTS_API_PROTOCOL=http
3259
# AGENTS_API_KEY_HEADER_NAME=Authorization
3360
# AGENTS_API_URL=http://agents-api:8080
3461
# TRUNCATE_EMBED_TEXT=true
3562
# WORKER_URL=temporal:7233
3663
# AGENTS_API_DEBUG=false
37-
# EMBEDDING_MODEL_ID=Alibaba-NLP/gte-large-en-v1.5
3864
# NUM_GPUS=1
3965
# INTEGRATION_SERVICE_URL=http://integrations:8000
66+
# USE_BLOB_STORE_FOR_TEMPORAL=false
67+
# BLOB_STORE_CUTOFF_KB=1024
68+
# BLOB_STORE_BUCKET=agents-api
69+
70+
# Memory Store
71+
# -----------
72+
73+
# COZO_HOST=http://memory-store:9070
74+
# COZO_PORT=9070
75+
# COZO_ROCKSDB_DIR=cozo.db
76+
# COZO_BACKUP_DIR=/backup
77+
# COZO_MNT_DIR=/data
78+
79+
# Gateway
80+
# ------
81+
82+
# GATEWAY_PORT=80
83+
# TRAEFIK_LOG_LEVEL=INFO
4084

4185
# Temporal
4286
# --------
@@ -46,6 +90,7 @@ LITELLM_REDIS_PASSWORD=<your_litellm_redis_password>
4690
# TEMPORAL_WORKER_URL=temporal:7233
4791
# TEMPORAL_POSTGRES_DB=temporal
4892
# TEMPORAL_POSTGRES_USER=temporal
93+
# TEMPORAL_SCHEDULE_TO_CLOSE_TIMEOUT=3600
4994

5095
# LiteLLM
5196
# -------
@@ -56,16 +101,14 @@ LITELLM_REDIS_PASSWORD=<your_litellm_redis_password>
56101
# LITELLM_REDIS_HOST=litellm-redis
57102
# LITELLM_REDIS_PORT=6379
58103

59-
# LLM Providers
60-
# --------------
104+
# Blob Store
105+
# -----------
61106

62-
# OPENAI_API_KEY=<your_openai_api_key>
63-
# HUGGING_FACE_HUB_TOKEN=<your_hugging_face_hub_token>
64-
# ANTHROPIC_API_KEY=<your_anthropic_api_key>
65-
# GROQ_API_KEY=<your_groq_api_key>
66-
# CLOUDFLARE_API_KEY=<your_cloudflare_api_key>
67-
# CLOUDFLARE_ACCOUNT_ID=<your_cloudflare_account_id>
68-
# NVIDIA_NIM_API_KEY=<your_nvidia_nim_api_key>
69-
# GITHUB_API_KEY=<your_github_api_key>
70-
# VOYAGE_API_KEY=<your_voyage_api_key>
71-
# GOOGLE_APPLICATION_CREDENTIALS=.keys/julep-vertexai-svc.json
107+
# S3_ENDPOINT=http://seaweedfs:8333
108+
# S3_ACCESS_KEY=<your_s3_access_key>
109+
# S3_SECRET_KEY=<your_s3_secret_key>
110+
111+
# Integrations Service
112+
# ------------
113+
114+
# INTEGRATIONS_SERVICE_PORT=8000

Diff for: .github/ISSUE_TEMPLATE/bug_report.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: "🐛 Bug Report"
2+
description: "Submit a bug report to help us improve"
3+
title: "[Bug]: "
4+
labels: ["bug"]
5+
body:
6+
- type: textarea
7+
id: description
8+
attributes:
9+
label: "📜 Description"
10+
placeholder: "A clear and concise description of what the bug is."
11+
12+
- type: textarea
13+
id: steps-to-reproduce
14+
attributes:
15+
label: "👟 Reproduction steps"
16+
placeholder: "1. Go to '...'
17+
2. Click on '....'
18+
3. Scroll down to '....'
19+
4. See error"
20+
21+
- type: checkboxes
22+
id: no-duplicate-issues
23+
attributes:
24+
label: "👀 Have you searched previous issues to see if this has been raised before?"
25+
options:
26+
- label: "I checked and didn't find similar issue"
27+
required: true

Diff for: .github/ISSUE_TEMPLATE/config.yml

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: Have Question?
4+
url: https://discord.com/invite/JTSBGRZrzj
5+
about: Join Official Discord server

Diff for: .github/ISSUE_TEMPLATE/feature_request.yml

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: 🚀 Feature
2+
description: "Submit a proposal for a new feature"
3+
title: "[Feature]: "
4+
labels: ["enhancement"]
5+
body:
6+
- type: textarea
7+
id: feature-description
8+
validations:
9+
required: true
10+
attributes:
11+
label: "🔖 Feature description"
12+
placeholder: "A clear and concise description of what the feature is."
13+
- type: textarea
14+
id: pitch
15+
attributes:
16+
label: "🎤 Why is this feature needed ?"
17+
placeholder: "Please explain why this feature should be implemented and how it would be used. Add examples, if applicable."
18+
- type: textarea
19+
id: solution
20+
attributes:
21+
label: "✌️ How do you aim to achieve this?"
22+
placeholder: "A clear and concise description of what you want to happen."
23+
- type: checkboxes
24+
id: no-duplicate-issues
25+
attributes:
26+
label: "👀 Have you searched issues and PRs to see if this feature request has been raised before?"
27+
options:
28+
- label: "I checked and didn't find similar issue"
29+
required: true

Diff for: .github/ISSUE_TEMPLATE/refactor.yml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: "🛠️ Refactor"
2+
description: "Submit a bug report to help us improve"
3+
title: "[Refactor]: "
4+
labels: ["refactor"]
5+
body:
6+
- type: textarea
7+
id: description
8+
attributes:
9+
label: "📜 Description"
10+
placeholder: "A clear and concise description of what should be refactored."
11+
12+
- type: textarea
13+
id: relevant-files
14+
attributes:
15+
label: "👟 Relevant files"
16+
placeholder: "1. `agents-api/Dockerfile` needs to change
17+
2. `integrations/**/*.py` files need to be reformatted"

Diff for: .github/workflows/doctoc-on-push.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,6 @@ jobs:
1111
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1212
MAX_HEADER_LEVEL: 3
1313
TOC_TITLE: '<h3>📖 Table of Contents</h3>'
14-
FOLDING: true
14+
FOLDING: false
15+
CREATE_PR: true
16+
CHECK_ONLY_DEFAULT_BRANCH: true
+59
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
name: Generate OpenAPI code
2+
run-name: ${{ github.actor }} is generating openapi code
3+
4+
on:
5+
pull_request:
6+
paths:
7+
- 'typespec/**'
8+
push:
9+
paths:
10+
- 'typespec/**'
11+
12+
jobs:
13+
Typecheck:
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- uses: actions/checkout@v4
18+
19+
- uses: actions/setup-python@v5
20+
with:
21+
python-version: "3.12"
22+
23+
- uses: actions/setup-node@v4
24+
with:
25+
node-version: 'latest'
26+
cache: npm
27+
cache-dependency-path: 'typespec/package-lock.json'
28+
29+
- name: Install libboost
30+
run: sudo apt-get install -y libboost-all-dev
31+
32+
- name: Install and configure Poetry
33+
uses: snok/install-poetry@v1
34+
35+
- name: Configure Poetry to use .venv
36+
run: |
37+
cd agents-api
38+
poetry config virtualenvs.in-project true
39+
40+
- name: Cache Poetry virtualenv
41+
uses: actions/cache@v4
42+
with:
43+
path: agents-api/.venv
44+
key: ${{ runner.os }}-agents-api-poetry-${{ hashFiles('agents-api/poetry.lock') }}
45+
restore-keys: |
46+
${{ runner.os }}-agents-api-poetry-
47+
48+
- name: Install dependencies
49+
run: |
50+
cd agents-api
51+
poetry install
52+
53+
- name: Generate openapi code
54+
run: |
55+
bash scripts/generate_openapi_code.sh
56+
57+
concurrency:
58+
group: ${{ github.workflow }}-${{ github.ref }}
59+
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}

Diff for: .github/workflows/lint-agents-api-pr.yml

+3
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ jobs:
2020
with:
2121
python-version: "3.12"
2222

23+
- name: Install libboost
24+
run: sudo apt-get install -y libboost-all-dev
25+
2326
- name: Install and configure Poetry
2427
uses: snok/install-poetry@v1
2528

Diff for: .github/workflows/lint-integrations-service-pr.yml

+57
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
name: Lint integrations-service
2+
run-name: ${{ github.actor }} is linting the code
3+
4+
on:
5+
pull_request:
6+
paths:
7+
- 'integrations-service/**'
8+
push:
9+
paths:
10+
- 'integrations-service/**'
11+
12+
jobs:
13+
Lint-And-Format:
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- uses: actions/checkout@v4
18+
19+
- uses: actions/setup-python@v5
20+
with:
21+
python-version: "3.12"
22+
23+
- name: Install and configure Poetry
24+
uses: snok/install-poetry@v1
25+
26+
- name: Configure Poetry to use .venv
27+
run: |
28+
cd integrations-service
29+
poetry config virtualenvs.in-project true
30+
31+
- name: Cache Poetry virtualenv
32+
uses: actions/cache@v4
33+
with:
34+
path: integrations-service/.venv
35+
key: ${{ runner.os }}-integrations-service-poetry-${{ hashFiles('integrations-service/poetry.lock') }}
36+
restore-keys: |
37+
${{ runner.os }}-integrations-service-poetry-
38+
39+
- name: Install dependencies
40+
run: |
41+
cd integrations-service
42+
poetry install
43+
44+
- name: Lint and format
45+
run: |
46+
cd integrations-service
47+
poetry run poe format
48+
poetry run poe lint
49+
50+
- uses: stefanzweifel/git-auto-commit-action@v4
51+
with:
52+
commit_message: "refactor: Lint integrations-service (CI)"
53+
branch: ${{ github.head_ref }}
54+
55+
concurrency:
56+
group: ${{ github.workflow }}-${{ github.ref }}
57+
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}

Diff for: .github/workflows/test-agents-api-pr.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ jobs:
2020
with:
2121
python-version: "3.12"
2222

23+
- name: Install libboost
24+
run: sudo apt-get install -y libboost-all-dev
25+
2326
- name: Install and configure Poetry
2427
uses: snok/install-poetry@v1
2528

@@ -44,7 +47,7 @@ jobs:
4447
- name: Run tests
4548
run: |
4649
cd agents-api
47-
poetry run poe test --fail-limit 1
50+
poetry run poe test --fail-limit 3
4851
4952
concurrency:
5053
group: ${{ github.workflow }}-${{ github.ref }}

0 commit comments

Comments
 (0)