generated from Pseudo-Lab/builder-template
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy path.env.example
More file actions
151 lines (108 loc) · 3.53 KB
/
.env.example
File metadata and controls
151 lines (108 loc) · 3.53 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
# ============================================
# Kiosk Agent - Environment Variables Example
# ============================================
# Copy this file to .env and fill in your values
# cp .env.example .env
# ============================================
# API Keys
# ============================================
# Google Gemini API Key (Required for VLM)
GOOGLE_API_KEY=your_google_api_key_here
# or
GEMINI_API_KEY=your_gemini_api_key_here
# Google Cloud Service Account (Required for STT)
# Path to your service account JSON file
GOOGLE_APPLICATION_CREDENTIALS=/path/to/your-service-account.json
# OpenAI API Key (Optional - for ChatGPT model)
OPENAI_API_KEY=your_openai_api_key_here
OPENAI_API_BASE=https://api.openai.com/v1
# ============================================
# Model Configuration
# ============================================
# Model provider: gemini, openai, local
MODEL_PROVIDER=gemini
# Gemini model name
GEMINI_MODEL=gemini-3-flash-preview
# OpenAI model name
OPENAI_MODEL=gpt-4o-mini
# Model parameters
MODEL_TEMPERATURE=0.1
MODEL_TOP_P=0.3
# Local vLLM settings (Optional)
VLLM_BASE_URL=http://localhost:8000
VLLM_MODEL_NAME=AgentCPM-GUI
VLLM_API_KEY=
# ============================================
# ADB Configuration
# ============================================
# Path to adb binary
ADB_PATH=adb
# Android device ID (Optional - auto-detect if not set)
DEVICE_ID=
# Swipe gesture duration in ms
SWIPE_MS=300
# ============================================
# Agent Runtime
# ============================================
# Maximum VLA loop iterations
AGENT_MAX_ITERATIONS=20
# Progress detection threshold (0.0 ~ 1.0)
AGENT_PROGRESS_THRESHOLD=0.02
# LangGraph recursion limit
AGENT_RECURSION_LIMIT=100
# ============================================
# TTS Configuration
# ============================================
# Enable TTS (1=on, 0=off)
AGENT_TTS_ENABLED=1
# Speak agent thoughts (1=on, 0=off)
AGENT_TTS_THOUGHT=0
# Max characters for thought TTS
AGENT_TTS_THOUGHT_MAX_CHARS=320
# Keep last N TTS files
AGENT_TTS_KEEP_LAST_N=5
# ============================================
# API Server
# ============================================
# Max concurrent workers
API_MAX_WORKERS=4
# Max sessions
API_MAX_SESSIONS=100
# Session TTL in seconds
API_SESSION_TTL=3600
# Default model for API requests
DEFAULT_MODEL=gemini-flash
# ============================================
# Screenshots & Storage
# ============================================
# Directory to save screenshots
# Keep last N screenshots
KEEP_LAST_N=10
# ============================================
# Logging
# ============================================
# Log level: DEBUG, INFO, WARNING, ERROR
LOG_LEVEL=INFO
# ============================================
# Character Configuration
# ============================================
# Path to characters YAML config file
CHARACTER_CONFIG_PATH=./config/characters.yaml
# TTS output directory (wav files)
# Output directories (relative paths)
SCREENSHOTS_DIR=./output/data/screenshot
TTS_OUTPUT_DIR=./output/data/tts
# ============================================
# Planning Mode (Web Search & Task Decomposition)
# ============================================
# Enable planning mode by default (1=on, 0=off)
AGENT_PLANNING_ENABLED=0
# Web search provider (tavily)
PLANNING_SEARCH_PROVIDER=tavily
# Tavily API Key (Required for Planning Mode)
# Get your key at https://tavily.com
TAVILY_API_KEY=your_tavily_api_key_here
# Maximum search results per query
PLANNING_MAX_SEARCH_RESULTS=5
# Maximum plan steps
PLANNING_MAX_STEPS=10