DeutschLernen/GermanApp/Presentation/Controllers
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
..
AdminController.cs fix(backend/auth): Fix JWT claim mapping issue causing 401 on /me endpoint 2026-06-14 18:25:49 +02:00
AuthController.cs fix(backend): resolve admin redirect, null reference, and Docker build issues 2026-06-16 17:35:50 +02:00
BootstrapController.cs feat(backend): Implement mandatory authentication and admin module 2026-06-14 12:42:15 +02:00
LessonsController.cs feat(backend): Implement mandatory authentication and admin module 2026-06-14 12:42:15 +02:00
LevelsController.cs feat(backend): Implement mandatory authentication and admin module 2026-06-14 12:42:15 +02:00
MistralController.cs feat(backend/ai-services): Complete AI Services Phase 0-4 implementation 2026-06-13 10:09:19 +02:00
QuizQuestionsController.cs feat(backend): Implement mandatory authentication and admin module 2026-06-14 12:42:15 +02:00
QuizzesController.cs feat(backend): Implement mandatory authentication and admin module 2026-06-14 12:42:15 +02:00
SpeechController.cs feat(backend/ai-services): Complete AI Services Phase 0-4 implementation 2026-06-13 10:09:19 +02:00
StoryController.cs fix(backend): Fix Mistral story generation with proper chat completion format 2026-06-18 15:21:04 +02:00
TtsController.cs feat(backend/ai-services): Complete AI Services Phase 0-4 implementation 2026-06-13 10:09:19 +02:00