Class: AgentSandbox::RubyLLMTools::PortUrl
- Defined in:
- lib/agent_sandbox/ruby_llm_tools.rb
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from AgentSandbox::RubyLLMTools::Base
Instance Method Details
#execute(port:) ⇒ Object
73 74 75 76 77 |
# File 'lib/agent_sandbox/ruby_llm_tools.rb', line 73 def execute(port:) { url: @sandbox.port_url(port.to_i) } rescue AgentSandbox::Error => e { error: e. } end |