This commit is contained in:
Bastian Wagner
2026-06-12 11:08:04 +02:00
parent c40cb030f6
commit d5595f11cd
6 changed files with 86 additions and 536 deletions

View File

@@ -46,14 +46,14 @@ $ 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:
The in-app assistant calls a configured Mistral agent from the API server. Configure the key and agent id in the API environment, never in the Angular client:
```bash
MISTRAL_API_KEY=your-mistral-api-key
MISTRAL_MODEL=mistral-small-latest
MISTRAL_AGENT_ID=your-mistral-agent-id
```
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.
The Mistral agent should have the `listify` connector attached. The authenticated frontend calls `POST /api/assistant/chat`; the API forwards the conversation to `POST /v1/agents/completions` and returns the assistant text. Listify does not parse or execute tool calls locally in this path.
## Run tests