fix the spec for conversation llm formatter

This commit is contained in:
Tanmay Deep Sharma
2025-06-19 17:13:03 +05:30
parent 3af9e8714a
commit 245e00d7a8
@@ -1,6 +1,4 @@
class Captain::Conversation::ResponseBuilderJob < ApplicationJob
include Captain::ChatHelper
MAX_MESSAGE_LENGTH = 10_000
retry_on ActiveStorage::FileNotFoundError, attempts: 3
@@ -58,7 +56,7 @@ class Captain::Conversation::ResponseBuilderJob < ApplicationJob
end
def prepare_multimodal_message_content(message)
OpenAiMessageBuilderService.new(message: message).generate_content
Captain::OpenAiMessageBuilderService.new(message: message).generate_content
end
def handoff_requested?