MCPcopy Create free account
hub / github.com/FirebaseExtended/solution-ai-barista / ChatMessageModel

Interface ChatMessageModel

shared/chatMessageModel.ts:20–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18 * Input to the chat agent.
19 */
20export interface ChatMessageModel {
21 /**
22 * Role of the message (agent or user)
23 */
24 role: 'user';
25
26 /**
27 * Text of the message
28 */
29 text: string;
30
31 /**
32 * Media attached to the message.
33 */
34 media?: MediaModel;
35}
36
37/**
38 * Media attached to the message.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected