Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
steve02081504 committed Feb 4, 2025
1 parent b815424 commit 3746118
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/public/shells/chat/src/server/chat.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ async function getChatRequest(chatid, charname) {
const other_chars = { ...timeSlice.chars }
delete other_chars[charname]

/** @type {import('../../decl/chatLog.ts').chatReplyRequest_t} */
const result = {
chat_id: chatid,
char_id: charname,
Expand All @@ -260,7 +261,8 @@ async function getChatRequest(chatid, charname) {
other_chars,
chat_summary: timeSlice.summary,
chat_scoped_char_memory: timeSlice.chars_memories[charname] ??= {},
plugins: []
plugins: [],
extension: {}
}

if (timeSlice.world?.interfaces?.chat?.GetChatLogForCharname)
Expand Down

0 comments on commit 3746118

Please sign in to comment.