Exception: OmniAI::Chat::ToolCallMissingError

Inherits:
ToolCallError show all
Defined in:
lib/omniai/chat.rb

Overview

An error raised when a tool-call is missing.

Instance Method Summary collapse

Constructor Details

#initialize(tool_call:) ⇒ ToolCallMissingError

Returns a new instance of ToolCallMissingError.



42
43
44
# File 'lib/omniai/chat.rb', line 42

def initialize(tool_call:)
  super(tool_call:, message: "missing tool for tool_call=#{tool_call.inspect}")
end