Class: RailsAiBridge::Registry::ContextProviderClient::Result
- Inherits:
-
Struct
- Object
- Struct
- RailsAiBridge::Registry::ContextProviderClient::Result
- Defined in:
- lib/rails_ai_bridge/registry/context_provider_client.rb
Overview
Result of a single provider tool call.
Instance Attribute Summary collapse
-
#content ⇒ Object?
Normalized tool result content when successful.
-
#error ⇒ ContextProviderError?
Typed error when not successful.
-
#provenance ⇒ String?
Provider identity and source status label.
-
#status ⇒ Symbol
One of :success, :error.
Instance Attribute Details
#content ⇒ Object?
Returns normalized tool result content when successful.
23 |
# File 'lib/rails_ai_bridge/registry/context_provider_client.rb', line 23 Result = Struct.new(:status, :content, :provenance, :error, keyword_init: true) |
#error ⇒ ContextProviderError?
Returns typed error when not successful.
23 |
# File 'lib/rails_ai_bridge/registry/context_provider_client.rb', line 23 Result = Struct.new(:status, :content, :provenance, :error, keyword_init: true) |
#provenance ⇒ String?
Returns provider identity and source status label.
23 |
# File 'lib/rails_ai_bridge/registry/context_provider_client.rb', line 23 Result = Struct.new(:status, :content, :provenance, :error, keyword_init: true) |
#status ⇒ Symbol
Returns one of :success, :error.
23 |
# File 'lib/rails_ai_bridge/registry/context_provider_client.rb', line 23 Result = Struct.new(:status, :content, :provenance, :error, keyword_init: true) |