mcp
This commit is contained in:
@@ -46,14 +46,14 @@ $ npm run start:prod
|
||||
|
||||
## Mistral assistant
|
||||
|
||||
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:
|
||||
The in-app assistant calls the Mistral Conversations API from the API server. Configure the key and optional model in the API environment, never in the Angular client:
|
||||
|
||||
```bash
|
||||
MISTRAL_API_KEY=your-mistral-api-key
|
||||
MISTRAL_AGENT_ID=your-mistral-agent-id
|
||||
MISTRAL_MODEL=mistral-large-latest
|
||||
```
|
||||
|
||||
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.
|
||||
The authenticated frontend calls `POST /api/assistant/chat`; the API forwards the conversation to `POST /v1/conversations` with the `listify` connector enabled and returns the assistant text. Listify inspects returned tool outputs and refreshes local list state when a list was created or changed.
|
||||
|
||||
Every Mistral response is stored in `assistant_chat_logs`. The table includes the sanitized provider request, the full raw provider response, the extracted assistant text sent back to the UI, response status and timing metadata.
|
||||
|
||||
@@ -116,8 +116,8 @@ Der Server erzeugt beim MCP-Initialize eine Session. Folge-Requests muessen den
|
||||
}
|
||||
```
|
||||
|
||||
- Output enthaelt `suggestions` mit `name`, `description`, `kind`, `items`, optionalem Template-Bezug und `rationale`.
|
||||
- Schreibt keine Daten und legt keine Liste an.
|
||||
- Output enthaelt `suggestions` mit `name`, `description`, `kind`, `items`, optionalem Template-Bezug und `rationale`.
|
||||
- Schreibt keine Daten und legt keine Liste an.
|
||||
|
||||
- `create_list`
|
||||
- Erstellt eine neue Liste fuer den angemeldeten User.
|
||||
@@ -135,8 +135,8 @@ Der Server erzeugt beim MCP-Initialize eine Session. Folge-Requests muessen den
|
||||
}
|
||||
```
|
||||
|
||||
- `items` ist optional. Wenn Items angegeben sind, werden sie nach dem Erstellen der Liste in Reihenfolge hinzugefuegt.
|
||||
- Output enthaelt `list` mit der erstellten Liste inklusive Items.
|
||||
- `items` ist optional. Wenn Items angegeben sind, werden sie nach dem Erstellen der Liste in Reihenfolge hinzugefuegt.
|
||||
- Output enthaelt `list` mit der erstellten Liste inklusive Items.
|
||||
|
||||
- `add_list_item`
|
||||
- Fuegt ein Item zu einer bestehenden Liste hinzu, auf die der angemeldete User Zugriff hat.
|
||||
@@ -151,7 +151,7 @@ Der Server erzeugt beim MCP-Initialize eine Session. Folge-Requests muessen den
|
||||
}
|
||||
```
|
||||
|
||||
- Output enthaelt `list` mit der aktualisierten Liste.
|
||||
- Output enthaelt `list` mit der aktualisierten Liste.
|
||||
|
||||
- `create_template`
|
||||
- Erstellt ein neues Template fuer den angemeldeten User.
|
||||
@@ -169,7 +169,7 @@ Der Server erzeugt beim MCP-Initialize eine Session. Folge-Requests muessen den
|
||||
}
|
||||
```
|
||||
|
||||
- Output enthaelt `template` mit dem erstellten Template inklusive Items.
|
||||
- Output enthaelt `template` mit dem erstellten Template inklusive Items.
|
||||
|
||||
- `add_template_item`
|
||||
- Fuegt ein Item zu einem bestehenden Template hinzu, das dem angemeldeten User gehoert.
|
||||
@@ -183,7 +183,7 @@ Der Server erzeugt beim MCP-Initialize eine Session. Folge-Requests muessen den
|
||||
}
|
||||
```
|
||||
|
||||
- Output enthaelt `template` mit dem aktualisierten Template.
|
||||
- Output enthaelt `template` mit dem aktualisierten Template.
|
||||
|
||||
### Minimaler MCP-Request
|
||||
|
||||
|
||||
Reference in New Issue
Block a user