-
Notifications
You must be signed in to change notification settings - Fork 59
Expand file tree
/
Copy path.env.test.example
More file actions
65 lines (56 loc) · 2.48 KB
/
.env.test.example
File metadata and controls
65 lines (56 loc) · 2.48 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# Provider test environment variables (integration/e2e)
# Copy to .env.test and fill in real credentials.
# =============================================================================
# ANTHROPIC (Claude)
# =============================================================================
ANTHROPIC_API_KEY=replace-with-your-anthropic-key
ANTHROPIC_MODEL_ID=claude-sonnet-4-5-20250929
ANTHROPIC_BASE_URL=https://api.openai-next.com
ANTHROPIC_ENABLE_INTERTWINED=0
ANTHROPIC_ENABLE_PDF=0
# Anthropic Thinking model (for extended thinking tests)
ANTHROPIC_THINKING_MODEL_ID=claude-sonnet-4-5-20250929-thinking
# =============================================================================
# OPENAI - Chat Completions API
# =============================================================================
OPENAI_API_KEY=replace-with-your-openai-key
OPENAI_MODEL_ID=gpt-4.1
OPENAI_BASE_URL=https://api.openai-next.com/v1
OPENAI_API=chat
# =============================================================================
# GEMINI (Google)
# =============================================================================
GEMINI_API_KEY=replace-with-your-gemini-key
GEMINI_MODEL_ID=gemini-3-flash-preview
GEMINI_BASE_URL=https://generativelanguage.googleapis.com/v1beta
GEMINI_ENABLE_INTERTWINED=1
GEMINI_ENABLE_PDF=1
# =============================================================================
# PostgreSQL Database (for database store tests)
# =============================================================================
# PostgreSQL 测试数据库配置
# 如果不配置,PostgresStore 测试将自动跳过
#
# 快速启动测试数据库(使用 Docker):
# docker run --name kode-postgres-test \
# -e POSTGRES_PASSWORD=testpass123 \
# -e POSTGRES_DB=kode_test \
# -p 5433:5432 -d postgres:16-alpine
#
# 停止并删除:
# docker stop kode-postgres-test && docker rm kode-postgres-test
POSTGRES_HOST=localhost
POSTGRES_PORT=5433
POSTGRES_DB=kode_test
POSTGRES_USER=postgres
POSTGRES_PASSWORD=testpass123
# =============================================================================
# E2B Cloud Sandbox (for E2B integration/e2e tests)
# =============================================================================
# E2B API Key - 从 https://e2b.dev/dashboard 获取
# 如果不配置,E2B 相关的 E2E 测试将自动跳过
E2B_API_KEY=replace-with-your-e2b-api-key
# E2B 沙箱模板(可选,默认使用 'base')
E2B_TEMPLATE=base
# E2B 沙箱超时时间(毫秒,可选,默认 300000)
E2B_TIMEOUT_MS=300000