MCPcopy Create free account
hub / github.com/devnomad-byte/EvolveHub / ChatMessageInfo

Interface ChatMessageInfo

frontend/src/api/adminChatHistory.ts:33–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31
32// 消息信息
33export interface ChatMessageInfo {
34 id: number
35 sessionId: number
36 role: string
37 content: string
38 toolCalls: string
39 toolCallId: string
40 modelName: string
41 promptTokens: number
42 completionTokens: number
43 totalTokens: number
44 finishReason: string
45 durationMs: number
46 createTime: string
47}
48
49// 分页响应
50export interface PageResponse<T> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected