feat(backend): persist tasks and generated message history

- add EntityTask domain and CRUD API backed by PostgreSQL

- relate generated messages directly to tasks and delete on task removal

- move preview generation to backend Llama endpoint

- migrate frontend task APIs from localStorage to backend endpoints

- update tests and CLAUDE rules for backend-owned LLM/persistence
This commit is contained in:
2026-03-27 02:46:56 -03:00
parent f2a16b5cf6
commit ebcea643c4
20 changed files with 1181 additions and 244 deletions

View File

@@ -48,6 +48,10 @@ openai:
api-key: ${OPENAI_API_KEY}
model: ${OPENAI_MODEL:gpt-4o}
llama:
base-url: ${LLAMA_BASE_URL:http://localhost:11434}
model: ${LLAMA_MODEL:gemma3:4b}
springdoc:
swagger-ui:
path: /swagger-ui.html