Class: TUI::Decorators::WebGetDecorator

Inherits:
BaseDecorator show all
Defined in:
lib/tui/decorators/web_get_decorator.rb

Overview

Renders web_get tool calls and responses. Calls show the URL with a globe icon.

Constant Summary collapse

ICON =

globe with meridians

"\u{1F310}"

Constants inherited from BaseDecorator

BaseDecorator::CHECKMARK, BaseDecorator::ERROR_ICON, BaseDecorator::RETURN_ARROW

Instance Attribute Summary

Attributes inherited from BaseDecorator

#data

Instance Method Summary collapse

Methods inherited from BaseDecorator

for, #initialize, #render, #render_call, #render_response, #render_think, #response_color

Methods included from Formatting

#format_ns_timestamp, #format_token_label

Constructor Details

This class inherits a constructor from TUI::Decorators::BaseDecorator

Instance Method Details

#colorObject



14
15
16
# File 'lib/tui/decorators/web_get_decorator.rb', line 14

def color
  "blue"
end

#iconObject



10
11
12
# File 'lib/tui/decorators/web_get_decorator.rb', line 10

def icon
  ICON
end