Upload default.py
Browse files
astrbot/core/config/default.py
CHANGED
|
@@ -96,14 +96,14 @@ DEFAULT_CONFIG = {
|
|
| 96 |
"image_caption_prompt": "Please describe the image using Chinese.",
|
| 97 |
"provider_pool": ["*"], # "*" 表示使用所有可用的提供者
|
| 98 |
"wake_prefix": "",
|
| 99 |
-
"web_search":
|
| 100 |
"websearch_provider": "default",
|
| 101 |
"websearch_tavily_key": [],
|
| 102 |
"websearch_bocha_key": [],
|
| 103 |
"websearch_baidu_app_builder_key": "",
|
| 104 |
"web_search_link": False,
|
| 105 |
"display_reasoning_text": False,
|
| 106 |
-
"identifier":
|
| 107 |
"group_name_display": False,
|
| 108 |
"datetime_system_prompt": True,
|
| 109 |
"default_personality": "default",
|
|
@@ -122,8 +122,8 @@ DEFAULT_CONFIG = {
|
|
| 122 |
"max_context_length": -1,
|
| 123 |
"dequeue_context_length": 1,
|
| 124 |
"streaming_response": False,
|
| 125 |
-
"show_tool_use_status":
|
| 126 |
-
"show_tool_call_result":
|
| 127 |
"sanitize_context_by_modalities": False,
|
| 128 |
"max_quoted_fallback_images": 20,
|
| 129 |
"quoted_message_parser": {
|
|
@@ -142,7 +142,7 @@ DEFAULT_CONFIG = {
|
|
| 142 |
"max_agent_step": 30,
|
| 143 |
"tool_call_timeout": 60,
|
| 144 |
"tool_schema_mode": "full",
|
| 145 |
-
"llm_safety_mode":
|
| 146 |
"safety_mode_strategy": "system_prompt", # TODO: llm judge
|
| 147 |
"file_extract": {
|
| 148 |
"enable": False,
|
|
@@ -152,7 +152,7 @@ DEFAULT_CONFIG = {
|
|
| 152 |
"proactive_capability": {
|
| 153 |
"add_cron_tools": True,
|
| 154 |
},
|
| 155 |
-
"computer_use_runtime": "
|
| 156 |
"computer_use_require_admin": True,
|
| 157 |
"sandbox": {
|
| 158 |
"booter": "shipyard_neo",
|
|
|
|
| 96 |
"image_caption_prompt": "Please describe the image using Chinese.",
|
| 97 |
"provider_pool": ["*"], # "*" 表示使用所有可用的提供者
|
| 98 |
"wake_prefix": "",
|
| 99 |
+
"web_search": True,
|
| 100 |
"websearch_provider": "default",
|
| 101 |
"websearch_tavily_key": [],
|
| 102 |
"websearch_bocha_key": [],
|
| 103 |
"websearch_baidu_app_builder_key": "",
|
| 104 |
"web_search_link": False,
|
| 105 |
"display_reasoning_text": False,
|
| 106 |
+
"identifier": True,
|
| 107 |
"group_name_display": False,
|
| 108 |
"datetime_system_prompt": True,
|
| 109 |
"default_personality": "default",
|
|
|
|
| 122 |
"max_context_length": -1,
|
| 123 |
"dequeue_context_length": 1,
|
| 124 |
"streaming_response": False,
|
| 125 |
+
"show_tool_use_status": True,
|
| 126 |
+
"show_tool_call_result": True,
|
| 127 |
"sanitize_context_by_modalities": False,
|
| 128 |
"max_quoted_fallback_images": 20,
|
| 129 |
"quoted_message_parser": {
|
|
|
|
| 142 |
"max_agent_step": 30,
|
| 143 |
"tool_call_timeout": 60,
|
| 144 |
"tool_schema_mode": "full",
|
| 145 |
+
"llm_safety_mode": False,
|
| 146 |
"safety_mode_strategy": "system_prompt", # TODO: llm judge
|
| 147 |
"file_extract": {
|
| 148 |
"enable": False,
|
|
|
|
| 152 |
"proactive_capability": {
|
| 153 |
"add_cron_tools": True,
|
| 154 |
},
|
| 155 |
+
"computer_use_runtime": "local",
|
| 156 |
"computer_use_require_admin": True,
|
| 157 |
"sandbox": {
|
| 158 |
"booter": "shipyard_neo",
|