This repository has been archived on 2026-03-06. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
openclaw-extensions/wecom/node_modules/node-llama-cpp/dist/utils/appendUserMessageToChatHistory.d.ts
T

7 lines
342 B
TypeScript

import { ChatHistoryItem } from "../types.js";
/**
* Appends a user message to the chat history.
* If the last message in the chat history is also a user message, the new message will be appended to it.
*/
export declare function appendUserMessageToChatHistory(chatHistory: readonly ChatHistoryItem[], message: string): ChatHistoryItem[];