Module: RubyLLM::Mongoid::ToolCallMethods

Extended by:
ActiveSupport::Concern
Includes:
PayloadHelpers
Defined in:
lib/ruby_llm/mongoid/tool_call_methods.rb

Overview

Mixes into a Mongoid document that represents a persisted tool call. Mirrors RubyLLM::ActiveRecord::ToolCallMethods.

Instance Method Summary collapse

Instance Method Details

#tool_error_messageObject



14
15
16
# File 'lib/ruby_llm/mongoid/tool_call_methods.rb', line 14

def tool_error_message
  payload_error_message(arguments)
end