mirror of
https://github.com/LLM-Red-Team/kimi-free-api.git
synced 2024-11-01 20:09:20 +08:00
首轮不注入注意力prompt
This commit is contained in:
parent
520f26f72f
commit
0b2c8434c9
@ -373,7 +373,7 @@ function messagesPrepare(messages: any[]) {
|
||||
};
|
||||
messages.splice(messages.length - 1, 0, newFileMessage);
|
||||
logger.info("注入提升尾部文件注意力system prompt");
|
||||
} else {
|
||||
} else if (messages.length > 2) {
|
||||
let newTextMessage = {
|
||||
"content": "关注用户最新的消息",
|
||||
"role": "system"
|
||||
|
Loading…
Reference in New Issue
Block a user