Module: Smith::Tool::BoundedCompletionInstallation
- Included in:
- ChatExecutionContext
- Defined in:
- lib/smith/tool/bounded_completion_installation.rb
Instance Method Summary collapse
Instance Method Details
#complete ⇒ Object
6 7 8 9 10 11 12 13 |
# File 'lib/smith/tool/bounded_completion_installation.rb', line 6 def complete(&) allowance = Tool.current_tool_call_allowance return super unless allowance.is_a?(CallAllowance) return super if singleton_class < BoundedCompletionContext BoundedCompletionContext.install(self) complete(&) end |