/
githubmirror
/
sgr-agent-core
Обзор
Документация
Войти
/
githubmirror
/
sgr-agent-core
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
.env.example
62 строки
3 KB
hijera
updated env and config examples
27 мар 2026, 20:12
27 мар 2026, 20:12
9ef4bf4
Код
Авторство
О чём код?
# SGR Deep Research Agent - Environment Variables Template # Copy this file to .env and fill in your values # Naming convention: SGR__<section>__<field> # Example: SGR__LLM__API_KEY, SGR__SEARCH__TAVILY_API_KEY # ======================================================= # LLM Configuration # ======================================================= SGR__LLM__API_KEY=your-openai-api-key-here SGR__LLM__BASE_URL=https://api.openai.com/v1 SGR__LLM__MODEL=gpt-4o-mini SGR__LLM__MAX_TOKENS=8000 SGR__LLM__TEMPERATURE=0.4 # SGR__LLM__PROXY=socks5://127.0.0.1:10810 # ======================================================= # Search Configuration (Tavily) # ======================================================= SGR__SEARCH__TAVILY_API_KEY=your-tavily-api-key-here SGR__SEARCH__TAVILY_API_BASE_URL=https://api.tavily.com SGR__SEARCH__MAX_RESULTS=10 SGR__SEARCH__MAX_PAGES=5 SGR__SEARCH__CONTENT_LIMIT=1500 # ======================================================= # Execution Settings # ======================================================= SGR__EXECUTION__MAX_STEPS=6 SGR__EXECUTION__MAX_CLARIFICATIONS=3 SGR__EXECUTION__MAX_ITERATIONS=10 SGR__EXECUTION__MAX_SEARCHES=4 SGR__EXECUTION__MCP_CONTEXT_LIMIT=15000 SGR__EXECUTION__LOGS_DIR=logs SGR__EXECUTION__REPORTS_DIR=reports # ======================================================= # Prompts Configuration # ======================================================= SGR__PROMPTS__SYSTEM_PROMPT_FILE=path/to/your/system_prompt.txt SGR__PROMPTS__INITIAL_USER_REQUEST_FILE=path/to/your/initial_user_request.txt SGR__PROMPTS__CLARIFICATION_RESPONSE_FILE=path/to/your/clarification_response.txt # Alternative: provide prompts directly as strings (overrides file paths) # SGR__PROMPTS__SYSTEM_PROMPT_STR="Your system prompt here" # SGR__PROMPTS__INITIAL_USER_REQUEST_STR="Your initial request template here" # SGR__PROMPTS__CLARIFICATION_RESPONSE_STR="Your clarification template here" # ======================================================= # MCP (Model Context Protocol) - Optional # ======================================================= # Note: MCP configuration is complex and better suited for config.yaml # See config.yaml.example for MCP server configuration examples # ======================================================= # Observability: Langfuse integration # ======================================================= SGR__LANGFUSE__ENABLED=false # SGR__LANGFUSE__PUBLIC_KEY=pk-lf-xxx # SGR__LANGFUSE__SECRET_KEY=sk-lf-xxx # SGR__LANGFUSE__HOST=http://localhost:3000 # Shorthand (credentials via LANGFUSE_* env vars): SGR__LANGFUSE=true