Module: Brute::Patches::AnthropicToolRole
- Defined in:
- lib/brute/patches/anthropic_tool_role.rb
Class Method Summary collapse
-
.apply! ⇒ Object
Apply the patch lazily — LLM::Anthropic is autoloaded.
Class Method Details
.apply! ⇒ Object
Apply the patch lazily — LLM::Anthropic is autoloaded.
28 29 30 31 32 |
# File 'lib/brute/patches/anthropic_tool_role.rb', line 28 def self.apply! return if @applied @applied = true LLM::Anthropic::RequestAdapter::Completion.prepend(self) end |