Files
Artemis-Eapil/artemis/resources/config/artemis.jsonc
T

148 lines
4.4 KiB
JSON

// 模型仅支持 OpenAI Responses;端点和密钥从 .env 读取。
{
"default": {
"provider": "openai",
"transport": "${env:OPENAI_TRANSPORT:-websocket}",
"model": "${env:OPENAI_MODEL:-gpt-6-luna}",
"timeout": "${env:OPENAI_TIMEOUT_SECONDS:-300}",
"max_retries": "${env:OPENAI_MAX_RETRIES:-5}",
"fallback": {
"provider": "openai",
"model": "${env:OPENAI_MODEL:-gpt-6-luna}"
}
},
"presets": {},
"nodes": {
"planner": {},
"operator": {
"fallback": {
"provider": "openai",
"model": "${env:OPENAI_TOOL_FALLBACK_MODEL:-gpt-6-luna}",
"reasoning_effort": "${env:OPENAI_TOOL_FALLBACK_REASONING_EFFORT:-high}",
"max_retries": "${env:OPENAI_TOOL_FALLBACK_MAX_RETRIES:-3}"
}
},
"video_analyzer": {},
"object_detector": {},
"explorer": {},
"summarizer": {},
"hopper": {},
"outputter": {},
"log_analyzer": {},
"diagnoser_expert": {},
"planner_avatar": {},
"history_analyzer_expert": {},
"checker": {}
},
"agent": {
"exploration": {
"model": "${env:ARTEMIS_EXPLORATION_MODEL:-gpt-6.1-terra}",
"reasoning_effort": "${env:ARTEMIS_EXPLORATION_REASONING_EFFORT:-high}",
"timeout_seconds": "${env:ARTEMIS_EXPLORATION_TIMEOUT_SECONDS:-1800}",
"demonstration_timeout_seconds": "${env:ARTEMIS_DEMONSTRATION_TIMEOUT_SECONDS:-900}",
"demonstration_warning_seconds": 60
},
// 留档录像参数,默认从 ARTEMIS_RECORDING_CONFIG 读取;这里可单独覆盖。
"recording": {},
"screenshot": {
"enabled": "${env:ARTEMIS_SCREENSHOT_LIMIT_ENABLED:-true}",
"max_long_edge": 2048
},
"flash": {
"final_check_enabled": "${env:ARTEMIS_FLASH_FINAL_CHECK_ENABLED:-false}",
"max_turns": 0,
"explorer_mode": "flash",
"step_summarizer": {
"enabled": "${env:ARTEMIS_STEP_SUMMARIZER_ENABLED:-true}",
"model": "${env:OPENAI_MODEL:-gpt-6-luna}",
"timeout_seconds": "${env:ARTEMIS_STEP_SUMMARIZER_TIMEOUT_SECONDS:-120}",
"prune_history_xml": true
}
},
"pro": {
"explorer": {
"mode": "flash"
},
"planner_validation": {
"enabled": true
},
"committee": {
"enabled": false,
"debate_rounds": 2
},
"checker": {
"enabled": true,
"midway_checks": false,
"final_check": true,
"max_iterations": 20,
"final_check_max_attempts": 3,
"checkpoint_max_repairs": 2,
"max_concurrent_checkpoints": 3,
"checkpoint_timeout": "${env:ARTEMIS_CHECKPOINT_TIMEOUT_SECONDS:-180}",
"settlement_timeout": "${env:ARTEMIS_SETTLEMENT_TIMEOUT_SECONDS:-120}",
"assert_failure_policy": "continue",
"device_probes": true
},
"video_analyzer": {
"enabled": "${env:ARTEMIS_VIDEO_ENABLED:-false}",
"enable_ledger": true
}
},
"memory": {
"runtime": {
"max_concurrency": 2,
"retry_limit": 3,
"flush_timeout_s": 30
},
"transcript": {
"enabled": true,
// 历史压缩预算,允许范围 1024–300000;上下文参照上限固定为 300k。
"context_budget_tokens": 80000,
// 阶段内仅追加;35% 开始后台准备摘要,70% 成批压缩,90% 紧急折叠。
"start_ratio": 0.35,
"soft_ratio": 0.7,
"hard_ratio": 0.9,
"min_active_steps": 5,
"image_scrub_depth": 3,
"image_scrub_depth_relaxed": 6,
"pending_grace_steps": 3,
"xml_scrub_depth": 1,
"similarity_hint": true,
"similarity_max_distance": 5
},
"chunking": {
"max_steps": 12,
"min_steps": 6,
"target_source_tokens": 6000,
"model": "${env:OPENAI_MODEL:-gpt-6-luna}",
"max_chunks": 8
},
"recall": {
"enabled": true,
"max_results": 5,
"max_text_tokens": 2000,
"screen_scan_steps": 150
},
"replay": {
"max_steps": 5,
"max_tokens": 12000
}
},
"video_analyzer": {
"enabled": "${env:ARTEMIS_VIDEO_ENABLED:-false}",
"enable_ledger": true
},
"outputter": {
"enabled": "${env:ARTEMIS_OUTPUTTER_ENABLED:-true}",
"force_synthesis": false
},
"explorer": {
"default_version": "flash"
},
"explorer_versions": {},
"denylisted_tools": {
"explorer": []
}
}
}