diff --git a/web/src/components/AgentChatComponent.vue b/web/src/components/AgentChatComponent.vue index 00c38585..644c37a6 100644 --- a/web/src/components/AgentChatComponent.vue +++ b/web/src/components/AgentChatComponent.vue @@ -12,8 +12,12 @@
- - +
@@ -150,12 +154,10 @@ :send-button-disabled="isSendButtonDisabled" :mention="mentionConfig" :supports-file-upload="supportsFileUpload" - :is-panel-open="isAgentPanelOpen" :has-active-thread="!!currentChatId" :todos="currentTodos" @send="handleSendOrStop" @upload-attachment="handleAttachmentUpload" - @toggle-panel="toggleAgentPanel" > @@ -108,7 +98,7 @@ import { computed, ref, watch } from 'vue' import MessageInputComponent from '@/components/MessageInputComponent.vue' import ImagePreviewComponent from '@/components/ImagePreviewComponent.vue' import AttachmentOptionsComponent from '@/components/AttachmentOptionsComponent.vue' -import { FolderKanban, SquareCheck } from 'lucide-vue-next' +import { SquareCheck } from 'lucide-vue-next' import { CheckCircleOutlined, ClockCircleOutlined, @@ -124,7 +114,6 @@ const props = defineProps({ sendButtonDisabled: { type: Boolean, default: false }, mention: { type: Object, default: () => null }, supportsFileUpload: { type: Boolean, default: false }, - isPanelOpen: { type: Boolean, default: false }, hasActiveThread: { type: Boolean, default: true }, todos: { type: Array, @@ -132,13 +121,7 @@ const props = defineProps({ } }) -const emit = defineEmits([ - 'update:modelValue', - 'send', - 'keydown', - 'upload-attachment', - 'toggle-panel' -]) +const emit = defineEmits(['update:modelValue', 'send', 'keydown', 'upload-attachment']) const inputRef = ref(null) const currentImage = ref(null) diff --git a/web/src/components/AgentPanel.vue b/web/src/components/AgentPanel.vue index d13c8ad1..f0e75c6b 100644 --- a/web/src/components/AgentPanel.vue +++ b/web/src/components/AgentPanel.vue @@ -11,16 +11,6 @@ - - @@ -124,7 +114,7 @@