feat(meal-planner): weekly meal planning with bulk prep support #75
No reviewers
Labels
No labels
accessibility
backlog
beta-feedback
bug
duplicate
enhancement
feature-request
help wanted
invalid
needs-design
needs-triage
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Circuit-Forge/kiwi#75
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/meal-planner"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
cf-texton cloud (cf-orch, ~2GB VRAM) or LLMRouter (ollama/vllm) for local usersNew files
app/db/migrations/022-025— meal_plans, meal_plan_slots, prep_sessions, prep_tasks tablesapp/models/schemas/meal_plan.py— Pydantic v2 request/response schemasapp/services/meal_plan/— shopping_list, prep_scheduler, planner, affiliates (MIT); llm_timing, llm_planner, llm_router (BSL 1.1)app/api/endpoints/meal_plans.py— 9 REST endpointsfrontend/src/stores/mealPlan.ts— Pinia store (immutable updates)frontend/src/components/MealPlan*.vue,ShoppingListPanel.vue,PrepSessionView.vue— Vue 3 SPATest Plan
pytest tests/ -v— 101 tests, all passinguser_editedbadge appearsrel="noopener noreferrer sponsored"CF_ORCH_URLand confirm LLM plan suggestions route through cf-textCF_ORCH_URL, confirm LLM falls back to LLMRouter (local)meal_plan_llmandmeal_plan_llm_timingon Free tier- Add GET /{plan_id}/prep-session endpoint so frontend can retrieve existing sessions without creating - Fix list_plans response_model from list[dict] to list[PlanSummary] with proper _plan_summary() mapping - Replace assert in store.update_prep_task with ValueError (assert is stripped under python -O) - Add day_of_week 0-6 validation to upsert_slot endpoint - Remove MagicMock sqlite artifact files left by pytest (already in .gitignore)View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.