MCPcopy
hub / github.com/kubewall/kubewall / ChatMessage

Interface ChatMessage

client/src/types/kwAI/addConfiguration.d.ts:28–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26};
27
28interface ChatMessage {
29 id: string
30 content: string
31 role: "user" | "assistant" | "system"
32 timestamp: Date,
33 isNotVisible?: boolean,
34 completionTokens?: number;
35 promptTokens?: number;
36 totalTokens?: number;
37 error?: boolean;
38 reasoning?: string;
39 isReasoning?: boolean;
40}
41
42type kwAIStoredChatHistory = {
43 [clusterConfig: string]: {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected