- Auto-generate title via LLM after reaching user message threshold
- Add title_set_by_user_at field to track user-customized titles
- Skip auto-generation when user has set a custom title
- Stream conversation_metadata event to frontend on title update
- Invalidate React Query cache to refresh conversation list
Signed-off-by: Laurent Paoletti <lp@providenz.fr>
This adds posthog backend to know whether a feature is enabled
for a user.
More globally, if Posthog is not present feature flags can be
enabled/disabled globally.
This is the first commit which provides all the first stack for a
working chat.
This is a first implementation with:
- Vercel SDK for the frontend part
- OpenAI Agent SDK for the backend
The stack can use a local LLM with docker ot a remote one.
This implementation is more a draft, but it provides the project
structure.
All tests are working even if we lack a lot of them.