fix: assistant log

This commit is contained in:
Shivam Mishra
2025-01-20 16:41:22 +05:30
parent 43a70ba0e4
commit dd9a746603
@@ -9,7 +9,7 @@ class Captain::Copilot::ChatService
def execute(input)
@agent.execute(input, conversation_history_context)
Rails.logger.info("[CAPTAIN][CopilotChatService] Incrementing response usage for #{account.id}")
Rails.logger.info("[CAPTAIN][CopilotChatService] Incrementing response usage for #{@assistant.account.id}")
@assistant.account.increment_response_usage
end