fix(api): rename 'metadata' to 'response_metadata' to avoid Pydantic conflict

The field name 'metadata' conflicts with Pydantic's internal ClassVar.
Renamed to 'response_metadata' throughout:
- Backend: RoutineSuggestion, BatchSuggestion, ShoppingSuggestionResponse
- Frontend: TypeScript types and component usages

This fixes the AttributeError when setting metadata on SQLModel instances.
This commit is contained in:
Piotr Oleszczyk 2026-03-06 16:16:35 +01:00
parent d00e0afeec
commit c8fa80be99
20 changed files with 3802 additions and 23 deletions

View file

@ -0,0 +1 @@
../../.agents/skills/gemini-api-dev