mpc logging

This commit is contained in:
Bastian Wagner
2026-06-12 14:02:33 +02:00
parent 907e18fecb
commit 26e0ba5caf
6 changed files with 235 additions and 27 deletions

View File

@@ -55,6 +55,8 @@ MISTRAL_AGENT_ID=your-mistral-agent-id
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.
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.
## Run tests
```bash