feat: AI 对话支持 A2UI 表单/审查/图表与 Agent 工具
This commit is contained in:
@@ -11,7 +11,6 @@ describe('AI chat history mapper', () => {
|
||||
status: 'completed',
|
||||
errorCode: null,
|
||||
createdAt: '2026-07-23T00:00:00.000Z',
|
||||
feedback: 'like',
|
||||
attachments: [
|
||||
{
|
||||
id: 8,
|
||||
@@ -37,7 +36,6 @@ describe('AI chat history mapper', () => {
|
||||
expect(mapped.message.reasoningContent).toBe('思考');
|
||||
expect(mapped.message.toolRuns[0].summary).toBe('共 4 间');
|
||||
expect(mapped.message.attachments).toHaveLength(1);
|
||||
expect(mapped.message.feedback).toBe('like');
|
||||
});
|
||||
|
||||
it('maps failed and cancelled history to X SDK statuses', () => {
|
||||
|
||||
Reference in New Issue
Block a user