MCPcopy Index your code
hub / github.com/1Panel-dev/MaxKB / get_message

Method get_message

apps/chat/serializers/chat.py:225–226  ·  view source on GitHub ↗
(instance)

Source from the content-addressed store, hash-verified

223
224 @staticmethod
225 def get_message(instance):
226 return instance.get('messages')[-1].get('content')
227
228 @staticmethod
229 def generate_chat(chat_id, application_id, message, chat_user_id, chat_user_type, ip_address, source):

Callers 1

chatMethod · 0.95

Calls 1

getMethod · 0.45

Tested by

no test coverage detected