Exception: OmniAI::Chat::ToolCallMissingError
- Inherits:
-
ToolCallError
- Object
- StandardError
- Error
- ToolCallError
- OmniAI::Chat::ToolCallMissingError
- Defined in:
- lib/omniai/chat.rb
Overview
An error raised when a tool-call is missing.
Instance Method Summary collapse
-
#initialize(tool_call:) ⇒ ToolCallMissingError
constructor
A new instance of ToolCallMissingError.
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 |