diff --git a/ui/src/components/conversation/api/index.ts b/ui/src/conversation-panel/api/index.ts similarity index 100% rename from ui/src/components/conversation/api/index.ts rename to ui/src/conversation-panel/api/index.ts diff --git a/ui/src/components/conversation/chat-panel/index.vue b/ui/src/conversation-panel/chat-panel/index.vue similarity index 99% rename from ui/src/components/conversation/chat-panel/index.vue rename to ui/src/conversation-panel/chat-panel/index.vue index eb33cfa93cc..22d54dd57ee 100644 --- a/ui/src/components/conversation/chat-panel/index.vue +++ b/ui/src/conversation-panel/chat-panel/index.vue @@ -241,8 +241,8 @@ import { CircleCloseFilled, Paperclip, Promotion, VideoPause } from '@element-pl import ContentList from '../content-list/index.vue' import Loading from '../loading/index.vue' import { Scroll } from '../index' -import { useChatStoreByType } from '../common/use-chat-store' -import type { ChatType } from '../common/types' +import { useChatStoreByType } from '../common/use-chat-store/index.ts' +import type { ChatType } from '../common/types.ts' import { nanoid } from 'nanoid' const props = withDefaults( defineProps<{ diff --git a/ui/src/components/conversation/common/types.ts b/ui/src/conversation-panel/common/types.ts similarity index 100% rename from ui/src/components/conversation/common/types.ts rename to ui/src/conversation-panel/common/types.ts diff --git a/ui/src/components/conversation/common/use-chat-store/chat/index.ts b/ui/src/conversation-panel/common/use-chat-store/chat/index.ts similarity index 100% rename from ui/src/components/conversation/common/use-chat-store/chat/index.ts rename to ui/src/conversation-panel/common/use-chat-store/chat/index.ts diff --git a/ui/src/components/conversation/common/use-chat-store/debug/index.ts b/ui/src/conversation-panel/common/use-chat-store/debug/index.ts similarity index 100% rename from ui/src/components/conversation/common/use-chat-store/debug/index.ts rename to ui/src/conversation-panel/common/use-chat-store/debug/index.ts diff --git a/ui/src/components/conversation/common/use-chat-store/index.ts b/ui/src/conversation-panel/common/use-chat-store/index.ts similarity index 100% rename from ui/src/components/conversation/common/use-chat-store/index.ts rename to ui/src/conversation-panel/common/use-chat-store/index.ts diff --git a/ui/src/components/conversation/common/use-chat-store/shared/use-conversation-crud.ts b/ui/src/conversation-panel/common/use-chat-store/shared/use-conversation-crud.ts similarity index 100% rename from ui/src/components/conversation/common/use-chat-store/shared/use-conversation-crud.ts rename to ui/src/conversation-panel/common/use-chat-store/shared/use-conversation-crud.ts diff --git a/ui/src/components/conversation/common/use-chat-store/shared/use-message-pagination.ts b/ui/src/conversation-panel/common/use-chat-store/shared/use-message-pagination.ts similarity index 100% rename from ui/src/components/conversation/common/use-chat-store/shared/use-message-pagination.ts rename to ui/src/conversation-panel/common/use-chat-store/shared/use-message-pagination.ts diff --git a/ui/src/components/conversation/common/use-chat-store/shared/use-stream-manager.ts b/ui/src/conversation-panel/common/use-chat-store/shared/use-stream-manager.ts similarity index 100% rename from ui/src/components/conversation/common/use-chat-store/shared/use-stream-manager.ts rename to ui/src/conversation-panel/common/use-chat-store/shared/use-stream-manager.ts diff --git a/ui/src/components/conversation/content-list/index.vue b/ui/src/conversation-panel/content-list/index.vue similarity index 100% rename from ui/src/components/conversation/content-list/index.vue rename to ui/src/conversation-panel/content-list/index.vue diff --git a/ui/src/components/conversation/content/index.vue b/ui/src/conversation-panel/content/index.vue similarity index 100% rename from ui/src/components/conversation/content/index.vue rename to ui/src/conversation-panel/content/index.vue diff --git a/ui/src/components/conversation/content/items/failure.vue b/ui/src/conversation-panel/content/items/failure.vue similarity index 100% rename from ui/src/components/conversation/content/items/failure.vue rename to ui/src/conversation-panel/content/items/failure.vue diff --git a/ui/src/components/conversation/content/items/form.vue b/ui/src/conversation-panel/content/items/form.vue similarity index 100% rename from ui/src/components/conversation/content/items/form.vue rename to ui/src/conversation-panel/content/items/form.vue diff --git a/ui/src/components/conversation/content/items/question.vue b/ui/src/conversation-panel/content/items/question.vue similarity index 100% rename from ui/src/components/conversation/content/items/question.vue rename to ui/src/conversation-panel/content/items/question.vue diff --git a/ui/src/components/conversation/content/items/reasoning.vue b/ui/src/conversation-panel/content/items/reasoning.vue similarity index 100% rename from ui/src/components/conversation/content/items/reasoning.vue rename to ui/src/conversation-panel/content/items/reasoning.vue diff --git a/ui/src/components/conversation/content/items/text.vue b/ui/src/conversation-panel/content/items/text.vue similarity index 100% rename from ui/src/components/conversation/content/items/text.vue rename to ui/src/conversation-panel/content/items/text.vue diff --git a/ui/src/components/conversation/content/items/tool.vue b/ui/src/conversation-panel/content/items/tool.vue similarity index 100% rename from ui/src/components/conversation/content/items/tool.vue rename to ui/src/conversation-panel/content/items/tool.vue diff --git a/ui/src/components/conversation/editor/index.vue b/ui/src/conversation-panel/editor/index.vue similarity index 100% rename from ui/src/components/conversation/editor/index.vue rename to ui/src/conversation-panel/editor/index.vue diff --git a/ui/src/components/conversation/index.ts b/ui/src/conversation-panel/index.ts similarity index 100% rename from ui/src/components/conversation/index.ts rename to ui/src/conversation-panel/index.ts diff --git a/ui/src/components/conversation/index.vue b/ui/src/conversation-panel/index.vue similarity index 96% rename from ui/src/components/conversation/index.vue rename to ui/src/conversation-panel/index.vue index 06eeac1f2af..3af6eaceb23 100644 --- a/ui/src/components/conversation/index.vue +++ b/ui/src/conversation-panel/index.vue @@ -27,8 +27,8 @@