mirror of
https://github.com/furyhawk/ai_agent.git
synced 2026-07-21 10:15:44 +00:00
- Implemented `conversation-store` for managing conversations and messages. - Created `file-preview-store` to handle file preview state. - Added `sidebar-store` for sidebar visibility management. - Developed `theme-store` for theme persistence and management. - Introduced `kb-selection-store` for managing active knowledge base selections with persistence. chore: define API and chat types - Added types for API responses, authentication, chat messages, conversations, and projects. - Defined interfaces for various entities including users, sessions, and message ratings. build: configure TypeScript and testing setup - Set up `tsconfig.json` for TypeScript configuration. - Created `vitest.config.ts` for testing configuration with Vitest. - Added `vitest.setup.ts` for global test setup including mocks for Next.js router and media queries. - Configured Vercel deployment settings in `vercel.json`.
14 lines
549 B
Python
14 lines
549 B
Python
"""Agent tools module.
|
|
|
|
This module contains utility functions that can be used as agent tools.
|
|
Tools are registered in the agent definition using @agent.tool decorator.
|
|
"""
|
|
|
|
from app.agents.tools.chart_tool import create_chart, parse_chart_spec
|
|
from app.agents.tools.datetime_tool import get_current_datetime
|
|
from app.agents.tools.rag_tool import search_knowledge_base, search_knowledge_base_sync
|
|
|
|
__all__ = ["get_current_datetime"]
|
|
__all__ += ["search_knowledge_base", "search_knowledge_base_sync"]
|
|
__all__ += ["create_chart", "parse_chart_spec"]
|