forked from science-learner/ScienceFlow
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
41 lines (34 loc) · 1.56 KB
/
Copy pathenv.example
File metadata and controls
41 lines (34 loc) · 1.56 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
41
# -----------------------------------------------------------------------------
# Minimal environment: API / URL / proxy + code/feedback models + HTTP timeout + uv venv + Redis.
# For algorithms, NLH budgets, mlebench paths, prep ratios, etc. see:
# scienceflow/config/default.yaml
# scienceflow/config/examples/nomad2018/
# CPU/GPU affinity is configured via cpu_list / gpu_list in the parallel / repl manifests,
# not in this file.
# -----------------------------------------------------------------------------
# Optional: pin the uv environment to the project-local ./.venv directory
# UV_PROJECT_ENVIRONMENT=./.venv
# LLM API (OpenAI-compatible: OpenAI / DeepSeek / vLLM / …)
API_KEY=your-api-key-here
BASE_URL=https://api.openai.com/v1
# Multi-key pool: comma-separated, round-robin across parallel tasks & requests
# API_KEYS=sk-key1,sk-key2,sk-key3
# BASE_URLS=https://api.openai.com/v1,https://api.deepseek.com/v1
# Per-stage model overrides (defaults in scienceflow/config/default.yaml)
# CODE_MODEL=gpt-4o
# FEEDBACK_MODEL=gpt-4o
# HTTP client timeout (seconds) for code / feedback stages
# HTTP_TIMEOUT=300
# Proxy (standard env vars; lowercase http_proxy also supported)
# HTTP_PROXY=http://proxy.example.com:8080
# HTTPS_PROXY=http://proxy.example.com:8080
# ALL_PROXY=socks5://127.0.0.1:1080
# NO_PROXY=localhost,127.0.0.1
# Optional Proxy-Authorization for ScienceFlow-built clients: USER_NAME + USER_PWD
# USER_NAME=proxy_user
# USER_PWD=proxy_password
# Redis (deepcraft_core KV; omit if unused)
# REDIS_HOST=localhost
# REDIS_PORT=6379
# REDIS_DB=0
# REDIS_PASSWORD=