This project provides a UI for interacting with AI chat APIs. It's built with Svelte, TypeScript, and Vite.
- Chat interface for communicating with AI models
- Server management for connecting to different AI endpoints
- Support for multiple models per server
- Responsive design for desktop and mobile use
The UI interacts with the following API endpoints:
POST: {url}/api/chat
- Send messages to the AIGET: {url}/api/tools
- Get available toolsGET: {url}/api/servers
- List available serversPUT: {url}/api/servers
- Add or update serversGET: {url}/api/models
- Get available models for a server
- Clone this repository
- Install dependencies:
npm install
- Configure the API URL in
.env
:VITE_API_URL=http://your-api-url
- Run the development server:
npm run dev
To create a production build:
npm run build
You can preview the production build with:
npm run preview