fix: 修复提示词检测引起的compact失败

This commit is contained in:
shaw
2025-09-24 23:22:21 +08:00
parent 894837fff4
commit e1a481af46
2 changed files with 15 additions and 5 deletions

View File

@@ -163,9 +163,11 @@ user: Where are errors from the client handled?
assistant: Clients are marked as failed in the \`connectToServer\` function in src/services/process.ts:712.
</example>
`
const claudeOtherSystemPromptCompact = `You are a helpful AI assistant tasked with summarizing conversations.`
module.exports = {
haikuSystemPrompt,
claudeOtherSystemPrompt1,
claudeOtherSystemPrompt2
claudeOtherSystemPrompt2,
claudeOtherSystemPromptCompact
}