feat: message format, pretty markdown
This commit is contained in:
1 parent
3d8f77d154
commit
5c7a106413
7 files changed
+95
-15
No files matched your search
@@ -13,6 +13,7 @@ def message_json(msg):
|
||||
"sender": msg.sender,
|
||||
"kind": msg.kind,
|
||||
"subkind": msg.subkind,
|
||||
"format": msg.format,
|
||||
"content": msg.content,
|
||||
"threadId": msg.thread_id,
|
||||
}
|
||||
|
||||
@@ -276,7 +276,7 @@ def register(server, app, auth_manager):
|
||||
elif action == "update-chat-message":
|
||||
message = await app.update_chat_message(
|
||||
message_id=body['messageId'],
|
||||
content=body['content'],
|
||||
content=body.get('content'),
|
||||
kind=body.get('kind'),
|
||||
subkind=body.get('subkind'),
|
||||
format=body.get('format'),
|
||||
|
||||
Reference in new issue
Block a user