UI: chat interface remove skills list

This commit is contained in:
qixinbo
2026-03-29 22:13:58 +08:00
parent ae6340d429
commit 4427e33567
4 changed files with 51 additions and 99 deletions
-10
View File
@@ -415,11 +415,6 @@ async def nanobot_chat(request: ChatRequest):
elif request.route_mode == "chat":
instructions.append("Normal chat mode. Do NOT use the nl2sql tool")
# Inject instructions for selected skills
if request.skill_ids:
skill_list = ", ".join(request.skill_ids)
instructions.append(f"You must prioritize using the following skills/tools to answer the user's request: {skill_list}")
if instructions:
instr_block = "\n".join(instructions)
# If message already has Runtime Context, append to it, otherwise create new
@@ -515,11 +510,6 @@ async def nanobot_chat_stream(request: ChatRequest):
elif request.route_mode == "chat":
instructions.append("Normal chat mode. Do NOT use the nl2sql tool")
# Inject instructions for selected skills
if request.skill_ids:
skill_list = ", ".join(request.skill_ids)
instructions.append(f"You must prioritize using the following skills/tools to answer the user's request: {skill_list}")
if instructions:
instr_block = "\n".join(instructions)
# If message already has Runtime Context, append to it, otherwise create new