Tools::Web::HttpGetWebPageTool::Runner
Inherits LLM::Function::Runner < Reference < Object
The Runner class executes the function
Constants
USER_AGENT = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:146.0) Gecko/20100101 Firefox/146.0"
Instance methods
execute(args : JSON::Any) : String
Implement this method to handle the LLM function call, and return
- EITHER a String with the JSON value,
- OR a
Replyif you need to return attachments.
success_response(content_type, content, preserve_source)
Create a success response as a JSON string