Skip to content

Latest commit

 

History

History
 
 

README.md

Lite Agent Web

Catalogue

Install

After cloning the repository, run the following command to install the dependency:

npm install

Start

Generate the request interface file (if the back-end interface is updated and modified) Update the request interface file :/lib/lite_agent_openapi.json(such as the standard openapi3 specification)

Run the generate interface command:

npm run openapi-ts

start serverя╝Ъ

npm run dev

Build

Compile project:

npm run build

Use the preview service provided by Vite:

npm run preview

Other commands

Lint checks and fixes

npm run lintFix

API type generation

Generate OpenAPI type definitions:

npm run openapi-ts

Use

The system initializes and activates

The initialization page is displayed. Create the first user and activate the system. The domain name + / init, such as: http://localhost:5173/init

After login, enter the the management background

Add a new user

Create Agent

After the Agent is created, you need to create a model and configure the model parameters, such as:

After the Agent is created, you can create a tool if necessary and configure model parameters, such as:

Go to the Agent page and configure the Agent. (Model parameters are mandatory. Tools can be configured as required.) After the configuration is complete, click Save to release the agent

Chat using Agent


Contribution

We welcome community contributions! Please refer to CONTRIBUTING.md for more information.

Licence

This project is licensed under the MIT LICENSE, see the license file for details.


Thank you for your interest and support in the Lite Agent Web project! If you have any questions or suggestions, please submit feedback via Issue.