DeutschLernen/GermanApp/Infrastructure
Lasse Rune Hansen aa3db295ce fix(backend): Fix Mistral story generation with proper chat completion format
- Update MistralChatRequest to remove unused properties (User, Stop, FrequencyPenalty, PresencePenalty) causing 422 errors
- Add explicit JsonPropertyName attributes to ensure correct JSON serialization
- Update MistralService to send minimal requests matching Mistral API expectations
- Pass SegmentCount and CustomPrompt through StoryGenerationService to build proper prompts
- Add request logging in MistralConnector to debug API calls
- Update default model to mistral-small-latest
- Enhance error handling to log raw JSON responses

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-06-18 15:21:04 +02:00
..
Configuration fix(backend): Fix Mistral story generation with proper chat completion format 2026-06-18 15:21:04 +02:00
Data fix(backend): resolve admin redirect, null reference, and Docker build issues 2026-06-16 17:35:50 +02:00
Services fix(backend): Fix Mistral story generation with proper chat completion format 2026-06-18 15:21:04 +02:00