15 lines
1.8 KiB
Plaintext
15 lines
1.8 KiB
Plaintext
=== Step 1: H5 Mock Login ===
|
|
Status: 200
|
|
Response: {"code": 0, "data": {"employee_id": "emp001", "employee_name": "test", "token": "prdaT_l08wzbCIeQKtBu5P7O3NQbkMB_oTzKe74362s", "department": "IT部", "position": "测试岗位", "avatar": ""}, "message": "success"}
|
|
|
|
=== Step 2: Get Current Conversation ===
|
|
Status: 200
|
|
Response: {"code": 1005, "data": null, "message": "服务器内部错误: (sqlalchemy.dialects.postgresql.asyncpg.ProgrammingError) <class 'asyncpg.exceptions.UndefinedColumnError'>: column conversations.impact_scope does not exist\n[SQL: SELECT conversations.id, conversations.corp_id, conversations.employee_id, conversations.employee_name, conversations.department, conversations.position, conversations.level, conversations.status, conversations.is_vip, conversations.is_pinned, conversations.is_todo, conversations.urgency_score, conversations.tags, conversations.assigned_agent_id, conversations.collaborating_agent_ids, conversations.participants, conversations.ai_substantive_reply_count, conversations.impact_scope, conversations.is_blocking, conversations.emotion_state, conversations.dify_conversation_id, conversations.last_message_at, conversations.last_message_summary, conversations.created_at, conversations.updated_at \nFROM conversations \nWHERE conversations.employee_id = $1::VARCHAR AND conversations.status IN ($2::VARCHAR, $3::VARCHAR, $4::VARCHAR) ORDER BY conversations.created_at DESC]\n[parameters: ('emp001', 'ai_handling', 'queued', 'serving')]\n(Background on this error at: https://sqlalche.me/e/20/f405)"}
|
|
|
|
=== Step 3: Send Message (auto-create conversation) ===
|
|
Status: 200
|
|
Response: {"code": 1005, "data": null, "message": "服务器内部错误: AIHandler.__init__() missing 1 required positional argument: 'ai_service'"}
|
|
|
|
=== Step 4: Get Conversation After Message ===
|
|
Status: 200
|