diff --git a/dashboard/src/App.vue b/dashboard/src/App.vue index be2e22a..07033b6 100644 --- a/dashboard/src/App.vue +++ b/dashboard/src/App.vue @@ -16,11 +16,15 @@ const { isLoggedIn } = useAuth() diff --git a/dashboard/src/components/AppHeader.vue b/dashboard/src/components/AppHeader.vue index 887db13..928025b 100644 --- a/dashboard/src/components/AppHeader.vue +++ b/dashboard/src/components/AppHeader.vue @@ -83,7 +83,9 @@ const navItems = [ diff --git a/dashboard/src/components/ProcessBlock.vue b/dashboard/src/components/ProcessBlock.vue index 530ad37..c516f5a 100644 --- a/dashboard/src/components/ProcessBlock.vue +++ b/dashboard/src/components/ProcessBlock.vue @@ -8,8 +8,10 @@ 思考中 {{ item.brief || '正在思考...' }} - ... - + + ... + +
{{ item.displayContent }}
@@ -22,10 +24,12 @@ {{ item.name || '工具调用' }} {{ item.brief || '' }} - ... - 成功 - 失败 - + + ... + 成功 + 失败 + +
@@ -264,8 +268,7 @@ const alertIcon = ` diff --git a/dashboard/src/style.css b/dashboard/src/style.css index 82e7954..72a932e 100644 --- a/dashboard/src/style.css +++ b/dashboard/src/style.css @@ -317,14 +317,14 @@ body { .message-bubble.user .message-container { align-items: flex-end; width: fit-content; - max-width: 85%; + max-width: 70%; } .message-bubble.assistant .message-container { align-items: flex-start; flex: 1 1 auto; - width: 80%; - max-width: 80%; + width: 90%; + max-width: 90%; min-width: 0; } diff --git a/dashboard/src/views/ConversationsView.vue b/dashboard/src/views/ConversationsView.vue index aa0b89a..efed03c 100644 --- a/dashboard/src/views/ConversationsView.vue +++ b/dashboard/src/views/ConversationsView.vue @@ -25,8 +25,20 @@
{{ c.model || '-' }}
- - + +
@@ -53,7 +65,7 @@
-
+
{{ msg.role === 'user' ? '👤' : '🤖' }}
@@ -133,15 +145,24 @@
+ + +
diff --git a/dashboard/src/views/SettingsView.vue b/dashboard/src/views/SettingsView.vue index 26d2512..ef7be58 100644 --- a/dashboard/src/views/SettingsView.vue +++ b/dashboard/src/views/SettingsView.vue @@ -459,622 +459,125 @@ onMounted(() => { diff --git a/dashboard/src/views/ToolsView.vue b/dashboard/src/views/ToolsView.vue index 628d635..555572a 100644 --- a/dashboard/src/views/ToolsView.vue +++ b/dashboard/src/views/ToolsView.vue @@ -83,16 +83,31 @@ onMounted(fetchData)