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

12
opencode.json Normal file
View file

@ -0,0 +1,12 @@
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"Playwright": {
"type": "local",
"command": [
"npx",
"@playwright/mcp@latest"
]
}
}
}