e4b326c711
Add support for chat with AI personas - Allow enabling chat for AI personas that have an associated user - Add new setting `allow_chat` to AI persona to enable/disable chat - When a message is created in a DM channel with an allowed AI persona user, schedule a reply job - AI replies to chat messages using the persona's `max_context_posts` setting to determine context - Store tool calls and custom prompts used to generate a chat reply on the `ChatMessageCustomPrompt` table - Add tests for AI chat replies with tools and context At the moment unlike posts we do not carry tool calls in the context. No @mention support yet for ai personas in channels, this is future work |
||
---|---|---|
.. | ||
ai_api_audit_log.rb | ||
ai_persona.rb | ||
chat_message_custom_prompt.rb | ||
classification_result.rb | ||
completion_prompt.rb | ||
model_accuracy.rb | ||
post_custom_prompt.rb | ||
rag_document_fragment.rb | ||
reviewable_ai_chat_message.rb | ||
reviewable_ai_post.rb | ||
shared_ai_conversation.rb |