MCPcopy Create free account
hub / github.com/OpenMOSS/MOSS-TTS / AssistantMessage

Class AssistantMessage

moss_tts_delay/processing_moss_tts.py:125–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123
124@dataclass
125class AssistantMessage(Message):
126 audio_codes_list: List[Union[str, torch.Tensor]]
127 content: str = AUDIO_PLACEHOLDER
128
129 def to_dict(self):
130 return {
131 "role": "assistant",
132 "content": self.content,
133 "audio_codes_list": self.audio_codes_list,
134 }
135
136
137USER_MESSAGE_FIELDS = (

Callers 2

decodeMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected