feat: message format, pretty markdown

This commit is contained in:
Shivering Ocelot committed 2026-10-10 22:55:10 -05:00
1 parent 3d8f77d154
commit 5c7a106413
7 files changed
+95 -15

No files matched your search

+1
View File
@@ -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,
}
+1 -1
View File
@@ -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'),