Class: Assistant::TechnicalArticleManagementToolBuilder::ManagementTool

Inherits:
RubyLLM::Tool
  • Object
show all
Defined in:
app/services/assistant/technical_article_management_tool_builder.rb

Overview

Shared authorization, stale-write, and error boundary for management tools.

Instance Method Summary collapse

Constructor Details

#initialize(account:, actor:) ⇒ ManagementTool

Creates an account-bound tool instance.

Parameters:

  • account (Account)

    current CRM account

  • actor (Employee, nil)

    employee attributed to writes



41
42
43
44
45
# File 'app/services/assistant/technical_article_management_tool_builder.rb', line 41

def initialize(account:, actor:)
  super()
  @account = 
  @actor = actor
end