mirror of
https://github.com/lingble/chatwoot.git
synced 2026-03-20 03:52:43 +00:00
- Add API support for creating a thread - Add API support for creating a message - Remove uuid from thread (no longer required, we will use existing websocket connection to send messages) - Update message_type to a column (user, assistant, assistant_thinking)
9 lines
212 B
Ruby
9 lines
212 B
Ruby
FactoryBot.define do
|
|
factory :captain_copilot_thread, class: 'CopilotThread' do
|
|
account
|
|
user
|
|
title { Faker::Lorem.sentence }
|
|
assistant { create(:captain_assistant, account: account) }
|
|
end
|
|
end
|