完善客户端模块与工作区能力
This commit is contained in:
@@ -14,6 +14,7 @@ const serverConversation = {
|
||||
workspace_id: 'workspace-one',
|
||||
agent_session_id: 'session-one',
|
||||
title: '????',
|
||||
latest_message_preview: '??????????',
|
||||
turn_revision: 1,
|
||||
phase: 'awaiting_confirmation',
|
||||
brief: {
|
||||
@@ -190,7 +191,10 @@ describe('Works Square AI design adapter', () => {
|
||||
await expect(adapter.getWorkspace('workspace-one')).resolves.toMatchObject({
|
||||
workspaceId: 'workspace-one',
|
||||
conversationCount: 1,
|
||||
conversations: [{ conversationId: 'conversation-one' }],
|
||||
conversations: [{
|
||||
conversationId: 'conversation-one',
|
||||
latestMessagePreview: '??????????',
|
||||
}],
|
||||
});
|
||||
await expect(adapter.createConversation({
|
||||
workspaceId: 'workspace-one',
|
||||
|
||||
Reference in New Issue
Block a user