11 Commits

Author SHA1 Message Date
lixiangwuxian
d4d371fbbc refactor: extend user message history retention and increase maximum history size for improved context management in headmasterHandler 2025-01-10 02:24:10 +08:00
lixiangwuxian
cd1e7cbe1c refactor: enhance headmasterHandler to include received time in JSON responses for improved message context and consistency in message formatting 2025-01-10 02:20:52 +08:00
lixiangwuxian
ffc73605e8 refactor: enhance headmasterHandler to include group nickname in JSON responses for better user context and improve message formatting consistency 2025-01-09 03:04:51 +08:00
lixiangwuxian
d3e9c9b0d6 refactor: modify headmasterHandler to include message origin ID in JSON response and adjust ReferOriginMsg flag for improved message tracking 2025-01-09 02:43:08 +08:00
lixiangwuxian
0a8ec74036 refactor: update message formatting in headmasterHandler to use JSON structure for improved data handling 2025-01-09 02:27:32 +08:00
lixiangwuxian
a2d8fe5e79 chore: update go-openai dependency to v1.36.1 and improve OpenAI client configuration in headmasterHandler 2025-01-09 02:03:47 +08:00
lixiangwuxian
03fe508d7b refactor: update headmasterHandler to handle user messages more flexibly and improve OpenAI client configuration with dynamic API key and model name from config 2025-01-09 00:59:05 +08:00
lixiangwuxian
2834f73d06 refactor: 校长上下文调整为群共用 2024-10-25 01:36:42 +08:00
lixiangwuxian
049b5774bf feat: 更新权限系统 2024-10-20 02:46:56 +08:00
lixiangwuxian
1495ac516b refactor: 重命名Message.RawMsg 2024-10-13 14:40:32 +08:00
lixiangwuxian
4d6c22ff7b init: 初始化仓库 2024-10-08 01:34:26 +08:00