DeutschLernen/GermanApp/Presentation
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
..
Controllers fix(backend): Fix Mistral story generation with proper chat completion format 2026-06-18 15:21:04 +02:00
Endpoints feat(backend/auth): Enforce authentication on LessonsEndpoints minimal API GET endpoints 2026-06-14 17:03:30 +02:00
Validators feat(backend/validation): add FluentValidation for DTOs and update controllers 2026-06-09 17:35:14 +02:00