From dd9a746603991fa2f8559fa18d527229d917d635 Mon Sep 17 00:00:00 2001 From: Shivam Mishra Date: Mon, 20 Jan 2025 16:41:22 +0530 Subject: [PATCH] fix: assistant log --- enterprise/app/services/captain/copilot/chat_service.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/enterprise/app/services/captain/copilot/chat_service.rb b/enterprise/app/services/captain/copilot/chat_service.rb index ea15ac4e8..069fee569 100644 --- a/enterprise/app/services/captain/copilot/chat_service.rb +++ b/enterprise/app/services/captain/copilot/chat_service.rb @@ -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