fix delete chat bug

This commit is contained in:
Xin Wang
2026-01-08 17:36:04 +08:00
parent f1bd12353a
commit a4713456ad
5 changed files with 118 additions and 57 deletions

View File

@@ -485,7 +485,7 @@ class TestChatClientDeleteChatRecord:
call_args = mock_send.call_args
assert call_args[0][0] == "DELETE"
assert call_args[0][1] == "/api/core/chat/item/delete"
assert call_args[1]['params'] == {
assert call_args[1]['json'] == {
"appId": "app-123",
"chatId": "chat-123",
"contentId": "content-123"