Class: HermesAgent::Client::Entities::Runtime
- Inherits:
-
HermesAgent::Client::Entity
- Object
- HermesAgent::Client::Entity
- HermesAgent::Client::Entities::Runtime
- Defined in:
- lib/hermes_agent/client/entities/capabilities.rb
Overview
The server's execution model (Capabilities#runtime).
Instance Method Summary collapse
-
#description ⇒ String?
A human-readable description of the runtime.
-
#mode ⇒ String?
The runtime mode, e.g.
-
#split_runtime? ⇒ boolean
Whether the runtime is split between client and server.
-
#tool_execution ⇒ String?
Where tools execute, e.g.
Methods inherited from HermesAgent::Client::Entity
Instance Method Details
#description ⇒ String?
A human-readable description of the runtime.
63 64 65 |
# File 'lib/hermes_agent/client/entities/capabilities.rb', line 63 def description self["description"] end |
#mode ⇒ String?
The runtime mode, e.g. "server_agent".
38 39 40 |
# File 'lib/hermes_agent/client/entities/capabilities.rb', line 38 def mode self["mode"] end |
#split_runtime? ⇒ boolean
Whether the runtime is split between client and server. A runtime
that does not advertise this is treated as not split (false).
55 56 57 |
# File 'lib/hermes_agent/client/entities/capabilities.rb', line 55 def split_runtime? !!self["split_runtime"] end |
#tool_execution ⇒ String?
Where tools execute, e.g. "server".
46 47 48 |
# File 'lib/hermes_agent/client/entities/capabilities.rb', line 46 def tool_execution self["tool_execution"] end |