feat(ee): Add copilot integration (v1) to the conversation sidebar (#10566)
This commit is contained in:
7
app/models/concerns/llm_formattable.rb
Normal file
7
app/models/concerns/llm_formattable.rb
Normal file
@@ -0,0 +1,7 @@
|
||||
module LlmFormattable
|
||||
extend ActiveSupport::Concern
|
||||
|
||||
def to_llm_text
|
||||
LlmFormatter::LlmTextFormatterService.new(self).format
|
||||
end
|
||||
end
|
||||
@@ -51,6 +51,7 @@
|
||||
|
||||
class Conversation < ApplicationRecord
|
||||
include Labelable
|
||||
include LlmFormattable
|
||||
include AssignmentHandler
|
||||
include AutoAssignmentHandler
|
||||
include ActivityMessageHandler
|
||||
|
||||
Reference in New Issue
Block a user