fix compile err
This commit is contained in:
@@ -721,6 +721,7 @@ pub async fn confirm_editor_agent_tool_call(
|
||||
json!({"source":"editor-agent","conversationId":conversation.conversation_id,"toolCallMessageId":message_id}),
|
||||
),
|
||||
asset_folder_id: Some("project".to_string()),
|
||||
asset_label: Some("图标素材图集".to_string()),
|
||||
canvas_completion: Some(build_editor_agent_canvas_completion(
|
||||
&project,
|
||||
GenerateIconSpritesheetTool::NAME,
|
||||
|
||||
@@ -24,7 +24,7 @@ import {
|
||||
readZipText,
|
||||
setupImageCanvasEditorViewTestLifecycle,
|
||||
} from './ImageCanvasEditorView.test-utils';
|
||||
import type { EditorAgentConversationClient } from './useEditorAgentConversation';
|
||||
import type { EditorAgentConversationClient } from './EditorAgentConversation/useEditorAgentConversation';
|
||||
|
||||
type EditorAgentListConversations =
|
||||
EditorAgentConversationClient['listConversations'];
|
||||
|
||||
@@ -1,6 +1,13 @@
|
||||
import path from 'node:path';
|
||||
|
||||
import {defineConfig} from 'vitest/config';
|
||||
|
||||
export default defineConfig({
|
||||
resolve: {
|
||||
alias: {
|
||||
'@': path.resolve(__dirname),
|
||||
},
|
||||
},
|
||||
test: {
|
||||
environment: 'node',
|
||||
globals: true,
|
||||
|
||||
Reference in New Issue
Block a user