🔧 添加 .gitignore,排除自动生成的 data/ 目录
8
.gitignore
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
# 工作区插件数据目录(自动生成,不提交)
|
||||
data/
|
||||
|
||||
# 系统文件
|
||||
.DS_Store
|
||||
Thumbs.db
|
||||
*.swp
|
||||
*.swo
|
||||
@@ -1,257 +0,0 @@
|
||||
{
|
||||
"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
|
||||
}
|
||||
|
Before Width: | Height: | Size: 4.3 MiB |
|
Before Width: | Height: | Size: 2.7 MiB |
|
Before Width: | Height: | Size: 3.5 MiB |
|
Before Width: | Height: | Size: 3.5 MiB |
|
Before Width: | Height: | Size: 5.2 MiB |
|
Before Width: | Height: | Size: 2.1 MiB |
|
Before Width: | Height: | Size: 3.7 MiB |
|
Before Width: | Height: | Size: 3.7 MiB |
|
Before Width: | Height: | Size: 4.7 MiB |
|
Before Width: | Height: | Size: 792 KiB |
|
Before Width: | Height: | Size: 498 KiB |
|
Before Width: | Height: | Size: 547 KiB |
|
Before Width: | Height: | Size: 597 KiB |
|
Before Width: | Height: | Size: 627 KiB |
|
Before Width: | Height: | Size: 642 KiB |
|
Before Width: | Height: | Size: 624 KiB |
|
Before Width: | Height: | Size: 675 KiB |
|
Before Width: | Height: | Size: 389 KiB |
|
Before Width: | Height: | Size: 955 KiB |
|
Before Width: | Height: | Size: 1008 KiB |
|
Before Width: | Height: | Size: 758 KiB |
|
Before Width: | Height: | Size: 807 KiB |
|
Before Width: | Height: | Size: 865 KiB |
|
Before Width: | Height: | Size: 750 KiB |
|
Before Width: | Height: | Size: 631 KiB |
|
Before Width: | Height: | Size: 639 KiB |
|
Before Width: | Height: | Size: 945 KiB |
|
Before Width: | Height: | Size: 1.1 MiB |
|
Before Width: | Height: | Size: 915 KiB |
|
Before Width: | Height: | Size: 897 KiB |
|
Before Width: | Height: | Size: 1.1 MiB |
|
Before Width: | Height: | Size: 499 KiB |
|
Before Width: | Height: | Size: 482 KiB |
|
Before Width: | Height: | Size: 855 KiB |
|
Before Width: | Height: | Size: 687 KiB |
|
Before Width: | Height: | Size: 648 KiB |
|
Before Width: | Height: | Size: 1.1 MiB |
|
Before Width: | Height: | Size: 652 KiB |
|
Before Width: | Height: | Size: 659 KiB |
|
Before Width: | Height: | Size: 683 KiB |
|
Before Width: | Height: | Size: 639 KiB |
|
Before Width: | Height: | Size: 637 KiB |
|
Before Width: | Height: | Size: 669 KiB |
|
Before Width: | Height: | Size: 861 KiB |
|
Before Width: | Height: | Size: 756 KiB |
|
Before Width: | Height: | Size: 604 KiB |
|
Before Width: | Height: | Size: 568 KiB |
|
Before Width: | Height: | Size: 584 KiB |
|
Before Width: | Height: | Size: 656 KiB |
|
Before Width: | Height: | Size: 658 KiB |
|
Before Width: | Height: | Size: 656 KiB |
|
Before Width: | Height: | Size: 663 KiB |
|
Before Width: | Height: | Size: 1.1 MiB |
|
Before Width: | Height: | Size: 759 KiB |
|
Before Width: | Height: | Size: 1.5 MiB |
|
Before Width: | Height: | Size: 966 KiB |
|
Before Width: | Height: | Size: 785 KiB |
|
Before Width: | Height: | Size: 790 KiB |
|
Before Width: | Height: | Size: 1.1 MiB |
|
Before Width: | Height: | Size: 1021 KiB |
|
Before Width: | Height: | Size: 865 KiB |
|
Before Width: | Height: | Size: 706 KiB |
|
Before Width: | Height: | Size: 886 KiB |
|
Before Width: | Height: | Size: 853 KiB |
|
Before Width: | Height: | Size: 1.0 MiB |
|
Before Width: | Height: | Size: 603 KiB |
|
Before Width: | Height: | Size: 615 KiB |
|
Before Width: | Height: | Size: 1.5 MiB |
|
Before Width: | Height: | Size: 962 KiB |
|
Before Width: | Height: | Size: 1.2 MiB |
|
Before Width: | Height: | Size: 641 KiB |
|
Before Width: | Height: | Size: 539 KiB |
|
Before Width: | Height: | Size: 641 KiB |
|
Before Width: | Height: | Size: 677 KiB |
|
Before Width: | Height: | Size: 657 KiB |
|
Before Width: | Height: | Size: 663 KiB |
|
Before Width: | Height: | Size: 576 KiB |
|
Before Width: | Height: | Size: 614 KiB |
|
Before Width: | Height: | Size: 701 KiB |
|
Before Width: | Height: | Size: 662 KiB |
|
Before Width: | Height: | Size: 643 KiB |
|
Before Width: | Height: | Size: 1.2 MiB |
|
Before Width: | Height: | Size: 1.6 MiB |
|
Before Width: | Height: | Size: 936 KiB |
|
Before Width: | Height: | Size: 1.3 MiB |
|
Before Width: | Height: | Size: 846 KiB |
|
Before Width: | Height: | Size: 674 KiB |
|
Before Width: | Height: | Size: 574 KiB |
|
Before Width: | Height: | Size: 645 KiB |
|
Before Width: | Height: | Size: 534 KiB |
|
Before Width: | Height: | Size: 514 KiB |
|
Before Width: | Height: | Size: 504 KiB |
|
Before Width: | Height: | Size: 680 KiB |
|
Before Width: | Height: | Size: 793 KiB |
|
Before Width: | Height: | Size: 1.4 MiB |
|
Before Width: | Height: | Size: 779 KiB |
|
Before Width: | Height: | Size: 592 KiB |
|
Before Width: | Height: | Size: 662 KiB |