Tools::Web::HttpGetWebAsMarkdownTool::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_text(response, content_type)
Wraps up the content in a Markdown code block, specifying a content type hint if we can figure one out