mirror of
https://github.com/allexanderbergmns/xh1-research.git
synced 2026-08-26 16:07:01 +00:00
77 lines
1.9 KiB
Plaintext
77 lines
1.9 KiB
Plaintext
# ============================================================
|
|
# XH-1 MULTI-PROVIDER CONFIGURATION
|
|
# ============================================================
|
|
|
|
# ------------------------------------------------------------
|
|
# Providers
|
|
# ------------------------------------------------------------
|
|
|
|
PROVIDERS="openrouter ollama qwen"
|
|
|
|
|
|
# ============================================================
|
|
# OpenRouter
|
|
# ============================================================
|
|
|
|
PROVIDER_openrouter_URL="https://openrouter.ai/api/v1"
|
|
PROVIDER_openrouter_KEY_ENV="OPENROUTER_API_KEY"
|
|
|
|
|
|
# ============================================================
|
|
# Ollama
|
|
# ============================================================
|
|
|
|
PROVIDER_ollama_URL="http://127.0.0.1:11434/v1"
|
|
|
|
# Ollama does not require an API key.
|
|
PROVIDER_ollama_KEY_ENV=""
|
|
OLLAMA_CONTEXT=16384
|
|
|
|
|
|
# ============================================================
|
|
# QWEN / DASHSCOPE
|
|
# ============================================================
|
|
|
|
PROVIDER_QWEN_URL="https://dashscope-intl.aliyuncs.com/compatible-mode/v1"
|
|
PROVIDER_QWEN_KEY_ENV="QWEN_API_KEY"
|
|
|
|
# Pick the Qwen model you want.
|
|
QWEN_MODEL="qwen3.7-plus"
|
|
|
|
# ============================================================
|
|
# Agent routing
|
|
# ============================================================
|
|
|
|
# Powerful cloud model for research.
|
|
RESEARCH_PROVIDER="qwen"
|
|
RESEARCH_MODEL="qwen3.7-plus"
|
|
|
|
|
|
# Local M4 reviewer.
|
|
REVIEW_PROVIDER="qwen"
|
|
REVIEW_MODEL="deepseek-v4-pro"
|
|
|
|
|
|
# Powerful cloud model for revisions.
|
|
REVISION_PROVIDER="qwen"
|
|
REVISION_MODEL="qwen3.7-flash-2026-07-15"
|
|
|
|
|
|
# ============================================================
|
|
# Research behavior
|
|
# ============================================================
|
|
|
|
MAX_RESEARCH_ROUNDS=3
|
|
MAX_API_RETRIES=3
|
|
|
|
DELAY_SECONDS=5
|
|
|
|
# 0 = unlimited.
|
|
MAX_ITERATIONS=0
|
|
|
|
REVIEW_ENABLED=true
|
|
|
|
# Set true if you want the harness to automatically commit
|
|
# accepted research documents.
|
|
AUTO_COMMIT=false
|