PERF: Better chat thread content format for LLM (#273)
This commit is contained in:
parent
cbfd8507b1
commit
6f708726e4
|
@ -14,6 +14,7 @@ module DiscourseAi
|
|||
.joins(:user)
|
||||
.pluck(:username, :message)
|
||||
.map { |username, message| "#{username}: #{message}" }
|
||||
.join("\n")
|
||||
end
|
||||
|
||||
def suggested_title
|
||||
|
|
Loading…
Reference in New Issue