fix: wrong slash_command in systemMessage

This commit is contained in:
mingholy.lmh 2025-12-24 17:18:26 +08:00
parent 8c109be48c
commit 7f645b9726
2 changed files with 71 additions and 57 deletions

View file

@ -259,7 +259,7 @@ export async function buildSystemMessage(
// Load slash commands with filtering based on allowed built-in commands
const slashCommands = await loadSlashCommandNames(
config,
allowedBuiltinCommandNames || [],
allowedBuiltinCommandNames,
);
// Load subagent names from config