fix: 修复上下文聊天大于20时记录顺序错误的问题

This commit is contained in:
ikechan8370 2025-02-14 00:14:23 +08:00
parent 2ad77d8112
commit 88360ecc42
3 changed files with 9 additions and 8 deletions

View file

@ -55,7 +55,7 @@ import { BingAIClient } from '../client/CopilotAIClient.js'
import Keyv from 'keyv'
import crypto from 'crypto'
const roleMap = {
export const roleMap = {
owner: 'group owner',
admin: 'group administrator'
}