-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy path.env.example
More file actions
32 lines (31 loc) · 3.03 KB
/
Copy path.env.example
File metadata and controls
32 lines (31 loc) · 3.03 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
# Required
API_KEY="your_openai_compatible_key" # API key for your OpenAI-compatible LLM provider.
API_BASE="https://your-openai-compatible-endpoint/v1" # Base URL for the OpenAI-compatible chat-completions endpoint.
MODEL_NAME="gpt-5.5" # Main model used by the agent.
SERPER_KEY="your_serper_key" # https://serper.dev/
JINA_KEY="your_jina_key" # https://jina.ai/
MINERU_TOKEN="your_mineru_token" # https://mineru.net/
# Optional
WORKSPACE_ROOT="./workspace" # Default local workspace root when --workspace-root is not provided.
MAX_ROUNDS=500 # Maximum ReAct loop rounds before forced termination.
MAX_RUNTIME_SECONDS=10800 # Maximum wall-clock runtime per agent run.
TIMEOUT_SECONDS=1200 # Timeout for each chat-completions request.
WEBFETCH_TIMEOUT_SECONDS=300 # Overall timeout for one WebFetch tool call.
WEBFETCH_MAX_CHARS=16384 # Hard maximum characters returned by one WebFetch call.
MAX_OUTPUT_TOKENS=16384 # Maximum output tokens requested from the main model.
MAX_INPUT_TOKENS=131072 # Maximum input-token budget used for runtime token accounting.
RECENT_HISTORY_BUDGET_TOKENS=8192 # Recent-turn token budget retained after memory compaction.
COMPACT_SUMMARY_MAX_TOKENS=8192 # Maximum output tokens for compaction summaries and default compaction reserve.
MAX_RETRIES=5 # Maximum retries for transient LLM API failures.
TEMPERATURE=0.6 # Main model sampling temperature.
TOP_P=0.95 # Main model nucleus-sampling top_p.
PRESENCE_PENALTY=1.00 # Main model presence penalty when supported by the provider.
COMPACT_TRIGGER_TOKENS="96k" # Context size threshold that triggers automatic memory compaction.
IMAGE_PART_TOKEN_ESTIMATE=2048 # Token estimate used for each runtime image_url content part.
LLM_IMAGE_MAX_EDGE=1568 # Maximum image edge length sent to multimodal LLMs.
LLM_IMAGE_MAX_BYTES=524288 # Maximum compressed image payload size sent to multimodal LLMs.
LLM_IMAGE_JPEG_QUALITY=85 # Initial JPEG quality for runtime image compression.
DEBUG_AGENT=false # Print verbose agent-loop debug logs.
DEBUG_SEARCH=false # Print verbose WebSearch debug logs.
DEBUG_SCHOLAR=false # Print verbose ScholarSearch debug logs.
DEBUG_VISIT=false # Print verbose WebFetch debug logs.