Introduce message kinds, and handle them appropriately in user and agent chat
This commit is contained in:
1 parent
cba41f1e7e
commit
396b06b05c
4 files changed
+89
-18
No files matched your search
+4
-1
@@ -185,8 +185,11 @@ def start_server(app):
|
||||
elif action == "send-chat-message":
|
||||
message = app.send_chat_message(
|
||||
chat_id=body['chatId'],
|
||||
content=body['content'],
|
||||
thread_id=body.get('threadId'),
|
||||
content=body['content'],
|
||||
kind=body.get('kind'),
|
||||
subkind=body.get('subkind'),
|
||||
format=body.get('format'),
|
||||
)
|
||||
await send({'message': "message sent", 'messageId': message['id'], 'nonce': nonce})
|
||||
|
||||
|
||||
Reference in new issue
Block a user