- 将 wechat_official_account 重命名为 weixin_public_account,符合中文命名规范 - 新增 DOCX 文档生成技能、聊天历史、请求 ID 中间件 - 增强工作流、热点服务、文章服务等模块功能 - 前端同步重命名组件和 API - 新增架构文档 AR13/AR14、专员文档更新 - 补充测试用例(seed_specialists_test, db_migration_test) Co-Authored-AI: yes
200 lines
6.5 KiB
Plaintext
200 lines
6.5 KiB
Plaintext
{
|
|
"agent_routes": {
|
|
"embed_gen": "embed_route_llamacpp_nomic",
|
|
"image_gen": "image_route_openrouter_gpt_image_2",
|
|
"video_gen": "video_route_openrouter_veo_3",
|
|
"path_coach": "chat_route_lmuai_deepseek_v4_flash",
|
|
"title_gen": "chat_route_lmuai_deepseek_v4_flash"
|
|
},
|
|
"chat_routes": {
|
|
"chat_route_lmuai_deepseek_v4_flash": {
|
|
"description": "LMUAI / DeepSeek Flash",
|
|
"endpoint": "/chat/completions",
|
|
"max_tokens": 4096,
|
|
"model": "deepseek-v4-flash",
|
|
"provider": "lmuai",
|
|
"short_model_name": "DeepSeek V4 Flash",
|
|
"short_route_name": "LMUAI",
|
|
"temperature": 0.7
|
|
},
|
|
"chat_route_ollama_qwen": {
|
|
"description": "本地对话 · llama.cpp / Qwen3.5 4B",
|
|
"endpoint": "/chat/completions",
|
|
"max_tokens": 512,
|
|
"model": "Qwen3.5-4B-Q4_K_M.gguf",
|
|
"provider": "llamacpp",
|
|
"short_model_name": "Qwen3.5 4B",
|
|
"short_route_name": "本地对话",
|
|
"temperature": 0.7,
|
|
"timeout_seconds": 90
|
|
},
|
|
"chat_route_ollama_qwen_fast": {
|
|
"description": "本地快聊 · llama.cpp / Qwen3.5 4B",
|
|
"endpoint": "/chat/completions",
|
|
"max_tokens": 512,
|
|
"model": "Qwen3.5-4B-Q4_K_M.gguf",
|
|
"provider": "llamacpp",
|
|
"short_model_name": "Qwen3.5 4B",
|
|
"short_route_name": "本地快聊",
|
|
"temperature": 0.3
|
|
},
|
|
"chat_route_openrouter_deepseek_v3": {
|
|
"description": "OpenRouter / DeepSeek V3.2",
|
|
"endpoint": "/chat/completions",
|
|
"max_tokens": 4096,
|
|
"model": "deepseek/deepseek-v3.2",
|
|
"provider": "openrouter",
|
|
"short_model_name": "DeepSeek V3.2",
|
|
"short_route_name": "OpenRouter",
|
|
"temperature": 0.6
|
|
},
|
|
"chat_route_openrouter_deepseek_v4_flash": {
|
|
"description": "OpenRouter / DeepSeek V4 Flash 0731",
|
|
"endpoint": "/chat/completions",
|
|
"max_tokens": 4096,
|
|
"model": "deepseek/deepseek-v4-flash-0731",
|
|
"provider": "openrouter",
|
|
"short_model_name": "DeepSeek V4 Flash 0731",
|
|
"short_route_name": "OpenRouter",
|
|
"temperature": 0.7
|
|
},
|
|
"chat_route_openrouter_gpt_5": {
|
|
"description": "OpenRouter / GPT 5.4",
|
|
"endpoint": "/chat/completions",
|
|
"max_tokens": 8192,
|
|
"model": "openai/gpt-5.4",
|
|
"provider": "openrouter",
|
|
"short_model_name": "GPT 5.4",
|
|
"short_route_name": "OpenRouter",
|
|
"temperature": 0.7
|
|
},
|
|
"chat_route_openrouter_grok_4": {
|
|
"description": "OpenRouter / Grok 4.20",
|
|
"endpoint": "/chat/completions",
|
|
"max_tokens": 4096,
|
|
"model": "x-ai/grok-4.20",
|
|
"provider": "openrouter",
|
|
"short_model_name": "Grok 4.20",
|
|
"short_route_name": "OpenRouter",
|
|
"temperature": 0.6
|
|
},
|
|
"chat_route_siliconflow_deepseek_v4_flash": {
|
|
"description": "SiliconFlow / DeepSeek V4 Flash",
|
|
"endpoint": "/chat/completions",
|
|
"max_tokens": 4096,
|
|
"model": "deepseek-ai/DeepSeek-V4-Flash",
|
|
"provider": "siliconflow",
|
|
"short_model_name": "DeepSeek V4 Flash",
|
|
"short_route_name": "SiliconFlow",
|
|
"temperature": 0.7
|
|
}
|
|
},
|
|
"default_embed_route": "embed_route_llamacpp_nomic",
|
|
"default_route": "chat_route_lmuai_deepseek_v4_flash",
|
|
"description": "eai_agentplatform AI 路由配置 — 按场景分类定义多条路由,支持 provider/模型切换",
|
|
"embed_routes": {
|
|
"embed_route_llamacpp_nomic": {
|
|
"base_url": "http://127.0.0.1:8081/v1",
|
|
"description": "本地向量 · llama.cpp / Nomic Embed v1.5",
|
|
"endpoint": "/embeddings",
|
|
"model": "nomic-embed-text-v1.5.Q4_K_M.gguf",
|
|
"provider": "llamacpp",
|
|
"short_model_name": "Nomic Embed v1.5",
|
|
"short_route_name": "本地向量",
|
|
"timeout_seconds": 30
|
|
},
|
|
"embed_route_ollama_bge_m3": {
|
|
"description": "本地向量 · Ollama / BGE-M3",
|
|
"endpoint": "/embeddings",
|
|
"model": "bge-m3",
|
|
"provider": "ollama",
|
|
"short_model_name": "BGE-M3",
|
|
"short_route_name": "本地向量"
|
|
},
|
|
"embed_route_openrouter_text_v3": {
|
|
"description": "OpenRouter / text-embedding-3-small",
|
|
"endpoint": "/embeddings",
|
|
"model": "openai/text-embedding-3-small",
|
|
"provider": "openrouter",
|
|
"short_model_name": "text-embedding-3-small",
|
|
"short_route_name": "OpenRouter"
|
|
}
|
|
},
|
|
"fallback_routes": {
|
|
"chat_route_lmuai_deepseek_flash": [
|
|
"chat_route_ollama_qwen_fast",
|
|
"chat_route_ollama_qwen"
|
|
],
|
|
"chat_route_openrouter_deepseek_v3": [
|
|
"chat_route_openrouter_grok_4",
|
|
"chat_route_ollama_qwen"
|
|
],
|
|
"chat_route_openrouter_deepseek_v4_flash": [
|
|
"chat_route_openrouter_deepseek_v3",
|
|
"chat_route_openrouter_grok_4",
|
|
"chat_route_ollama_qwen"
|
|
],
|
|
"chat_route_openrouter_grok_4": [
|
|
"chat_route_ollama_qwen"
|
|
],
|
|
"chat_route_siliconflow_deepseek_v4_flash": [
|
|
"chat_route_ollama_qwen_fast",
|
|
"chat_route_ollama_qwen"
|
|
],
|
|
"embed_route_llamacpp_nomic": [
|
|
"embed_route_openrouter_text_v3"
|
|
],
|
|
"embed_route_ollama_bge_m3": [
|
|
"embed_route_openrouter_text_v3"
|
|
],
|
|
"embed_route_openrouter_text_v3": [
|
|
"embed_route_ollama_bge_m3"
|
|
]
|
|
},
|
|
"image_routes": {
|
|
"image_route_ollama_llava": {
|
|
"description": "本地图像 · Ollama / LLaVA",
|
|
"endpoint": "/chat/completions",
|
|
"max_tokens": 2048,
|
|
"model": "llava",
|
|
"provider": "ollama",
|
|
"short_model_name": "LLaVA",
|
|
"short_route_name": "本地图像",
|
|
"temperature": 0.7
|
|
},
|
|
"image_route_openrouter_flux": {
|
|
"description": "OpenRouter / FLUX 1.1 Pro",
|
|
"endpoint": "/images/generations",
|
|
"max_tokens": 1024,
|
|
"model": "black-forest-labs/flux-1.1-pro",
|
|
"provider": "openrouter",
|
|
"short_model_name": "FLUX 1.1 Pro",
|
|
"short_route_name": "OpenRouter",
|
|
"temperature": 1
|
|
},
|
|
"image_route_openrouter_gpt_image_2": {
|
|
"description": "OpenRouter / GPT 5.4 Image 2",
|
|
"endpoint": "/images/generations",
|
|
"max_tokens": 4096,
|
|
"model": "openai/gpt-5.4-image-2",
|
|
"provider": "openrouter",
|
|
"short_model_name": "GPT 5.4 Image 2",
|
|
"short_route_name": "OpenRouter",
|
|
"temperature": 1
|
|
}
|
|
},
|
|
"video_routes": {
|
|
"video_route_openrouter_veo_3": {
|
|
"description": "OpenRouter / Google Veo 3",
|
|
"endpoint": "/videos/generations",
|
|
"model": "google/veo-3",
|
|
"max_tokens": 4096,
|
|
"provider": "openrouter",
|
|
"short_model_name": "Veo 3",
|
|
"short_route_name": "OpenRouter",
|
|
"temperature": 0.7
|
|
}
|
|
},
|
|
"version": "2.1.0"
|
|
}
|