Guanghu Domestic Migration d1e47f4565
Some checks are pending
自动更新代码和重启 / update-and-restart (push) Waiting to run
CI检查 + 自动部署 / check (push) Waiting to run
CI检查 + 自动部署 / deploy (push) Blocked by required conditions
重启聊天服务 / restart (push) Waiting to run
chore: import sanitized domestic snapshot for REPO-002
Source snapshot: ca48d3ddf926d79aa138306164169baf764bb829
2026-07-17 15:54:41 +08:00

53 lines
1.5 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"api_source": "third_party_combined",
"api_key_env": "MODEL_API_KEY",
"base_url": "https://api.yunwu.ai/v1",
"context_window_target": 200000,
"auto_detect": {
"enabled": true,
"schedule": "daily_0300",
"test_prompts": {
"chat": "你好,请用中文介绍一下自己",
"code": "写一个JavaScript函数输入数组返回去重后的结果",
"reasoning": "分析以下需求并给出技术方案:用户想做一个带搜索功能的个人博客"
}
},
"routing_rules": {
"chat": {
"priority": ["chinese_ability", "conversation_quality", "context_window", "speed"],
"max_latency_ms": 5000
},
"code_generation": {
"priority": ["code_quality", "context_window", "reasoning"],
"max_latency_ms": 30000
},
"code_review": {
"priority": ["reasoning", "code_quality", "context_window"],
"max_latency_ms": 15000
},
"quick_reply": {
"priority": ["speed", "cost"],
"max_latency_ms": 2000
}
},
"memory_injection": {
"enabled": true,
"compression_model": "quick_reply",
"compression_trigger": {
"every_n_rounds": 10,
"token_threshold": 50000,
"force_on_session_start": true
},
"injection_strategy": {
"system_prompt_max_tokens": 8000,
"sliding_window_rounds": 10,
"priority": ["confirmed_decisions", "requirements", "open_questions", "user_preferences", "emotional_signals"]
}
},
"fallback": {
"max_retries": 3,
"timeout_ms": 30000,
"on_all_fail": "notify_master"
}
}