Skip to content

Commit 3a15fb0

Browse files
committed
feat(demos): enhance assistant demo with new utility files and mock MCP integration
- Introduced new utility files: `assistantConstants.ts`, `mockMcp.ts`, and `responseProvider.ts` to support enhanced functionality in the assistant demo. - Updated `Assistant.vue` to utilize the new response provider and mock MCP tool, improving the interaction flow. - Revised documentation in `assistant.md` to reflect the inclusion of new demo files, ensuring comprehensive examples for users. - Updated sidebar items in theme configuration for better navigation and clarity on tool usage.
1 parent b599aa5 commit 3a15fb0

File tree

9 files changed

+524
-292
lines changed

9 files changed

+524
-292
lines changed

docs/.vitepress/themeConfig.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ const sharedSidebarItems = [
3333
text: '工具',
3434
base: '/tools/',
3535
items: [
36-
{ text: 'AI模型交互工具类', link: 'ai-client' },
37-
{ text: '消息数据管理', link: 'message' },
38-
{ text: '会话数据管理', link: 'conversation' },
36+
{ text: 'useMessage 消息数据管理', link: 'message' },
37+
{ text: 'useConversation 会话数据管理', link: 'conversation' },
38+
{ text: 'AIClient 模型交互工具类', link: 'ai-client' },
3939
{ text: '工具函数', link: 'utils' },
4040
],
4141
},

0 commit comments

Comments
 (0)