Commit Graph

6 Commits

Author SHA1 Message Date
dzq 8e10300e54 命令 2026-01-05 17:29:00 +08:00
dengquanzhang 726befe2fa 改为小米模型 2025-12-21 23:16:00 +08:00
dzq 4a7ddd9e72 feat: add memory functionality to multi-function agent and update schemas
- Integrated memory capabilities into the multi-function agent using LibSQLStore for persistent storage.
- Updated agent instructions to reflect memory features, allowing the agent to remember previous conversations and user preferences.
- Modified request schemas to include optional memory parameters for better context management in interactions.
2025-12-16 11:10:08 +08:00
dzq 7be8cc973e feat: add goods tool for querying product information and integrate with multi-function agent
- Implemented goodsTool for querying product lists and details based on product ID.
- Added API methods for fetching product lists and single product information.
- Created Axios instance with request interceptors for handling API responses and errors.
- Updated multiFunctionAgent to include goodsTool for enhanced functionality.
- Defined types for API responses and pagination.
- Configured Vite for building the server with proper chunking and external dependencies.
2025-12-12 10:48:12 +08:00
dzq 28bab592de feat: Add Multi-Function Agent with Express API and tools
- Implemented Multi-Function Agent with capabilities for weather, time, calculator, file listing, and jokes.
- Created Express API for accessing the agent, including endpoints for generating responses, streaming, and testing tools.
- Added middleware for error handling, response formatting, and request validation.
- Defined schemas for request validation using Zod.
- Translated agent instructions and tool descriptions to Chinese for localization.
- Included README documentation for API usage and project structure.
2025-12-11 17:43:08 +08:00
dzq f3e5a0db54 feat: add multi-function agent with tools for weather, time, calculator, file listing, and jokes
- Created multiFunctionAgent to handle multiple user requests.
- Implemented tools for weather information, current time, basic arithmetic operations, file listing, and telling jokes.
- Added necessary schemas and execution logic for each tool.
- Set up main Mastra instance to include the new agent.
- Created a script to run the agent and test its functionality.
- Configured TypeScript settings for the project.
2025-12-11 15:18:09 +08:00