257 lines
8.1 KiB
JSON
257 lines
8.1 KiB
JSON
{
|
||
"config_version": 2,
|
||
"platform_settings": {
|
||
"unique_session": false,
|
||
"rate_limit": {
|
||
"time": 60,
|
||
"count": 30,
|
||
"strategy": "stall"
|
||
},
|
||
"reply_prefix": "",
|
||
"forward_threshold": 1500,
|
||
"enable_id_white_list": true,
|
||
"id_whitelist": [],
|
||
"id_whitelist_log": true,
|
||
"wl_ignore_admin_on_group": true,
|
||
"wl_ignore_admin_on_friend": true,
|
||
"reply_with_mention": false,
|
||
"reply_with_quote": false,
|
||
"path_mapping": [],
|
||
"segmented_reply": {
|
||
"enable": false,
|
||
"only_llm_result": true,
|
||
"interval_method": "random",
|
||
"interval": "1.5,3.5",
|
||
"log_base": 2.6,
|
||
"words_count_threshold": 150,
|
||
"split_mode": "regex",
|
||
"regex": ".*?[。?!~…]+|.+$",
|
||
"split_words": [
|
||
"。",
|
||
"?",
|
||
"!",
|
||
"~",
|
||
"…"
|
||
],
|
||
"content_cleanup_rule": ""
|
||
},
|
||
"no_permission_reply": true,
|
||
"empty_mention_waiting": true,
|
||
"empty_mention_waiting_need_reply": true,
|
||
"friend_message_needs_wake_prefix": false,
|
||
"ignore_bot_self_message": false,
|
||
"ignore_at_all": false
|
||
},
|
||
"provider_sources": [],
|
||
"provider": [],
|
||
"provider_settings": {
|
||
"enable": true,
|
||
"default_provider_id": "",
|
||
"fallback_chat_models": [],
|
||
"default_image_caption_provider_id": "",
|
||
"image_caption_prompt": "Please describe the image using Chinese.",
|
||
"provider_pool": [
|
||
"*"
|
||
],
|
||
"wake_prefix": "",
|
||
"web_search": false,
|
||
"websearch_provider": "tavily",
|
||
"websearch_tavily_key": [],
|
||
"websearch_bocha_key": [],
|
||
"websearch_brave_key": [],
|
||
"websearch_baidu_app_builder_key": "",
|
||
"web_search_link": false,
|
||
"display_reasoning_text": false,
|
||
"identifier": false,
|
||
"group_name_display": false,
|
||
"datetime_system_prompt": true,
|
||
"default_personality": "default",
|
||
"persona_pool": [
|
||
"*"
|
||
],
|
||
"prompt_prefix": "{{prompt}}",
|
||
"context_limit_reached_strategy": "truncate_by_turns",
|
||
"llm_compress_instruction": "Based on our full conversation history, produce a concise summary of key takeaways and/or project progress.\n1. Systematically cover all core topics discussed and the final conclusion/outcome for each; clearly highlight the latest primary focus.\n2. If any tools were used, summarize tool usage (total call count) and extract the most valuable insights from tool outputs.\n3. If there was an initial user goal, state it first and describe the current progress/status.\n4. Write the summary in the user's language.\n",
|
||
"llm_compress_keep_recent": 6,
|
||
"llm_compress_provider_id": "",
|
||
"max_context_length": -1,
|
||
"dequeue_context_length": 1,
|
||
"streaming_response": false,
|
||
"show_tool_use_status": false,
|
||
"show_tool_call_result": false,
|
||
"buffer_intermediate_messages": false,
|
||
"sanitize_context_by_modalities": false,
|
||
"max_quoted_fallback_images": 20,
|
||
"quoted_message_parser": {
|
||
"max_component_chain_depth": 4,
|
||
"max_forward_node_depth": 6,
|
||
"max_forward_fetch": 32,
|
||
"warn_on_action_failure": false
|
||
},
|
||
"agent_runner_type": "local",
|
||
"dify_agent_runner_provider_id": "",
|
||
"coze_agent_runner_provider_id": "",
|
||
"dashscope_agent_runner_provider_id": "",
|
||
"deerflow_agent_runner_provider_id": "",
|
||
"unsupported_streaming_strategy": "realtime_segmenting",
|
||
"reachability_check": false,
|
||
"max_agent_step": 30,
|
||
"tool_call_timeout": 120,
|
||
"tool_schema_mode": "full",
|
||
"llm_safety_mode": true,
|
||
"safety_mode_strategy": "system_prompt",
|
||
"file_extract": {
|
||
"enable": false,
|
||
"provider": "moonshotai",
|
||
"moonshotai_api_key": ""
|
||
},
|
||
"proactive_capability": {
|
||
"add_cron_tools": true
|
||
},
|
||
"computer_use_runtime": "none",
|
||
"computer_use_require_admin": true,
|
||
"sandbox": {
|
||
"booter": "shipyard_neo",
|
||
"shipyard_endpoint": "",
|
||
"shipyard_access_token": "",
|
||
"shipyard_ttl": 3600,
|
||
"shipyard_max_sessions": 10,
|
||
"shipyard_neo_endpoint": "",
|
||
"shipyard_neo_access_token": "",
|
||
"shipyard_neo_profile": "python-default",
|
||
"shipyard_neo_ttl": 3600
|
||
},
|
||
"image_compress_enabled": true,
|
||
"image_compress_options": {
|
||
"max_size": 1280,
|
||
"quality": 95
|
||
}
|
||
},
|
||
"subagent_orchestrator": {
|
||
"main_enable": false,
|
||
"remove_main_duplicate_tools": false,
|
||
"router_system_prompt": "You are a task router. Your job is to chat naturally, recognize user intent, and delegate work to the most suitable subagent using transfer_to_* tools. Do not try to use domain tools yourself. If no subagent fits, respond directly.",
|
||
"agents": []
|
||
},
|
||
"provider_stt_settings": {
|
||
"enable": false,
|
||
"provider_id": ""
|
||
},
|
||
"provider_tts_settings": {
|
||
"enable": false,
|
||
"provider_id": "",
|
||
"dual_output": false,
|
||
"use_file_service": false,
|
||
"trigger_probability": 1.0
|
||
},
|
||
"provider_ltm_settings": {
|
||
"group_icl_enable": false,
|
||
"group_message_max_cnt": 300,
|
||
"image_caption": false,
|
||
"image_caption_provider_id": "",
|
||
"active_reply": {
|
||
"enable": false,
|
||
"method": "possibility_reply",
|
||
"possibility_reply": 0.1,
|
||
"whitelist": []
|
||
}
|
||
},
|
||
"content_safety": {
|
||
"also_use_in_response": false,
|
||
"internal_keywords": {
|
||
"enable": true,
|
||
"extra_keywords": []
|
||
},
|
||
"baidu_aip": {
|
||
"enable": false,
|
||
"app_id": "",
|
||
"api_key": "",
|
||
"secret_key": ""
|
||
}
|
||
},
|
||
"admins_id": [
|
||
"astrbot"
|
||
],
|
||
"t2i": false,
|
||
"t2i_word_threshold": 150,
|
||
"t2i_strategy": "remote",
|
||
"t2i_endpoint": "",
|
||
"t2i_use_file_service": false,
|
||
"t2i_active_template": "base",
|
||
"http_proxy": "",
|
||
"no_proxy": [
|
||
"localhost",
|
||
"127.0.0.1",
|
||
"::1",
|
||
"10.*",
|
||
"192.168.*"
|
||
],
|
||
"dashboard": {
|
||
"enable": true,
|
||
"username": "astrbot",
|
||
"password": "77b90590a8945a7d36c963981a307dc9",
|
||
"jwt_secret": "",
|
||
"host": "0.0.0.0",
|
||
"port": 6185,
|
||
"disable_access_log": true,
|
||
"ssl": {
|
||
"enable": false,
|
||
"cert_file": "",
|
||
"key_file": "",
|
||
"ca_certs": ""
|
||
}
|
||
},
|
||
"platform": [],
|
||
"platform_specific": {
|
||
"lark": {
|
||
"pre_ack_emoji": {
|
||
"enable": false,
|
||
"emojis": [
|
||
"Typing"
|
||
]
|
||
}
|
||
},
|
||
"telegram": {
|
||
"pre_ack_emoji": {
|
||
"enable": false,
|
||
"emojis": [
|
||
"✍️"
|
||
]
|
||
}
|
||
},
|
||
"discord": {
|
||
"pre_ack_emoji": {
|
||
"enable": false,
|
||
"emojis": [
|
||
"🤔"
|
||
]
|
||
}
|
||
}
|
||
},
|
||
"wake_prefix": [
|
||
"/"
|
||
],
|
||
"log_level": "INFO",
|
||
"log_file_enable": false,
|
||
"log_file_path": "logs/astrbot.log",
|
||
"log_file_max_mb": 20,
|
||
"temp_dir_max_size": 1024,
|
||
"trace_enable": false,
|
||
"trace_log_enable": false,
|
||
"trace_log_path": "logs/astrbot.trace.log",
|
||
"trace_log_max_mb": 20,
|
||
"pip_install_arg": "",
|
||
"pypi_index_url": "https://mirrors.aliyun.com/pypi/simple/",
|
||
"persona": [],
|
||
"timezone": "Asia/Shanghai",
|
||
"callback_api_base": "",
|
||
"default_kb_collection": "",
|
||
"plugin_set": [
|
||
"*"
|
||
],
|
||
"kb_names": [],
|
||
"kb_fusion_top_k": 20,
|
||
"kb_final_top_k": 5,
|
||
"kb_agentic_mode": false,
|
||
"disable_builtin_commands": false
|
||
} |