Files
ai_agent/backend/app/agents/tools/__init__.py
T
furyhawk 8351e73d39 feat: add Zustand stores for conversation, file preview, sidebar, theme, and knowledge base selection
- 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`.
2026-06-11 16:54:43 +08:00

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"]