File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -165,6 +165,7 @@ FEW_SHOTS_SYSTEM_PROMPT: |-
165165
166166 思考:我已经获得了快速排序的python代码,现在我将生成最终回答。
167167 快速排序的python代码如下:
168+ 代码:
168169 ```<DISPLAY:python>
169170 def quick_sort(arr):
170171 if len(arr) <= 1:
Original file line number Diff line number Diff line change 5555from services .memory_config_service import build_memory_context
5656from services .remote_mcp_service import add_remote_mcp_server_list
5757from services .tool_configuration_service import update_tool_list
58+ from services .prompt_service import call_llm_for_system_prompt
5859from utils .auth_utils import get_current_user_info , get_user_language
5960from utils .config_utils import tenant_config_manager
6061from utils .memory_utils import build_memory_config
@@ -306,7 +307,6 @@ def _regenerate_agent_value_with_llm(
306307
307308 for attempt in range (1 , max_attempts + 1 ):
308309 try :
309- from services .prompt_service import call_llm_for_system_prompt
310310 regenerated_value = call_llm_for_system_prompt (
311311 model_id = model_id ,
312312 user_prompt = user_prompt ,
You can’t perform that action at this time.
0 commit comments