chat
This commit is contained in:
@@ -44,6 +44,17 @@ $ npm run start:dev
|
||||
$ npm run start:prod
|
||||
```
|
||||
|
||||
## Mistral assistant
|
||||
|
||||
The in-app assistant calls Mistral from the API server. Configure the key in the API environment, never in the Angular client:
|
||||
|
||||
```bash
|
||||
MISTRAL_API_KEY=your-mistral-api-key
|
||||
MISTRAL_MODEL=mistral-small-latest
|
||||
```
|
||||
|
||||
The authenticated frontend calls `POST /api/assistant/chat`; the API then calls Mistral and may execute allowed Listify actions such as creating lists or adding list items.
|
||||
|
||||
## Run tests
|
||||
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user