-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
40 lines (34 loc) · 1.36 KB
/
Copy path.env.example
File metadata and controls
40 lines (34 loc) · 1.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# ============================================================
# Minimum config to run setUpAgentOurs on a single repo.
# Copy this to `.env` and fill in OPENAI_API_KEY at minimum.
# ============================================================
# ---- LLM provider ----
# Any OpenAI-compatible endpoint works (official OpenAI, vLLM, etc.).
LLM_PROVIDER=openai
OPENAI_API_KEY=sk-REPLACE_ME
OPENAI_BASE_URL=https://api.openai.com/v1
OPENAI_MODEL=gpt-4o-mini
# ---- Docker sandbox ----
# `python:3.10` matches the base image the agent's prompt advertises.
# `DOCKER_TIMEOUT` is the per-shell-command ceiling (seconds).
DOCKER_BASE_IMAGE=python:3.10
DOCKER_WORK_DIR=/workspace
DOCKER_TIMEOUT=600
# ---- XPU experience store (OPTIONAL) ----
# Leave disabled unless you have a populated Postgres store.
# Pass `--no-xpu` on the CLI to force-disable for one run.
XPU_ENABLED=false
XPU_VECTOR_ENABLED=false
XPU_TABLE=xpu_entries_warm
dns=
# Embeddings (only consulted when XPU_VECTOR_ENABLED=true).
EMBEDDING_API_KEY=
EMBEDDING_BASE_URL=
EMBEDDING_MODEL=text-embedding-3-small
# Override only if your embedding model is not 1536-dim
# (e.g. text-embedding-3-large is 3072). Wrong value -> insert failure.
# EMBEDDING_DIM=1536
# XPU extractor reuses the main OpenAI config by default.
XPU_EXTRACT_API_KEY_ENV=OPENAI_API_KEY
XPU_EXTRACT_BASE_URL_ENV=OPENAI_BASE_URL
XPU_EXTRACT_MODEL=gpt-4o-mini