fix: OpenAI CE specs (#7710)
This commit is contained in:
parent
355926897a
commit
0d41853b0b
@ -21,7 +21,7 @@ RSpec.describe Integrations::Openai::ProcessorService do
|
||||
let!(:customer_message) { create(:message, account: account, conversation: conversation, message_type: :incoming, content: 'hello agent') }
|
||||
let!(:agent_message) { create(:message, account: account, conversation: conversation, message_type: :outgoing, content: 'hello customer') }
|
||||
let!(:summary_prompt) do
|
||||
if Dir.exist?('enterprise')
|
||||
if ChatwootApp.enterprise?
|
||||
Rails.root.join('enterprise/lib/enterprise/integrations/openai_prompts/summary.txt').read
|
||||
else
|
||||
'Please summarize the key points from the following conversation between support agents and customer as bullet points for the next ' \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user