Implement Planning Context Integration for Exercise AI Suggestions
Deploy Development / deploy (push) Successful in 43s
Test Suite / pytest-backend (push) Successful in 43s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 13s
Test Suite / k6 /health Baseline (push) Successful in 33s
Test Suite / playwright-tests (push) Successful in 1m13s
Deploy Development / deploy (push) Successful in 43s
Test Suite / pytest-backend (push) Successful in 43s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 13s
Test Suite / k6 /health Baseline (push) Successful in 33s
Test Suite / playwright-tests (push) Successful in 1m13s
- Added `planning_context` to the `suggestExerciseAi` endpoint, enabling structured planning context for new exercise creation. - Updated relevant components and backend logic to handle the new planning context, enhancing the AI's exercise suggestion capabilities. - Incremented application version to 0.8.208 to reflect these changes.
This commit is contained in:
1 parent
f074a8bef0
commit
779e2477ba
14 files changed
+503
-9
No files matched your search
@@ -385,6 +385,10 @@ class ExerciseAiSuggestBody(BaseModel):
|
||||
include_summary: bool = True
|
||||
include_skills: bool = True
|
||||
include_instructions: bool = False
|
||||
planning_context: Optional[dict] = Field(
|
||||
default=None,
|
||||
description="Optionaler Planungskontext (Einheit, Pfad, Roadmap-Stufe) für KI-Neuanlage",
|
||||
)
|
||||
|
||||
@model_validator(mode="after")
|
||||
def check_include_any(self):
|
||||
@@ -403,6 +407,7 @@ class ExerciseAiSuggestBody(BaseModel):
|
||||
trainer_notes=self.trainer_notes,
|
||||
focus_area_hint=self.focus_area_hint,
|
||||
focus_areas_context=self.focus_areas_context,
|
||||
planning_context=self.planning_context,
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user