mcp
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user