MCPcopy Create free account
hub / github.com/Forethought-Technologies/AutoChain / FunctionMessage

Class FunctionMessage

autochain/agent/message.py:59–68  ·  view source on GitHub ↗

Type of message that is a function message.

Source from the content-addressed store, hash-verified

57
58
59class FunctionMessage(BaseMessage):
60 """Type of message that is a function message."""
61
62 name: str
63 conversational_message: str = ""
64
65 @property
66 def type(self) -> str:
67 """Type of the message, used for serialization."""
68 return "function"
69
70
71class ChatMessageHistory(BaseModel):

Callers 2

save_conversationMethod · 0.90
save_messageMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected