Class: Anthropic::Models::Beta::Sessions::BetaManagedAgentsSpanOutcomeEvaluationOngoingEvent

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/anthropic/models/beta/sessions/beta_managed_agents_span_outcome_evaluation_ongoing_event.rb

Defined Under Namespace

Modules: Type

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(id:, iteration:, outcome_id:, processed_at:, type:) ⇒ Object

Some parameter documentations has been truncated, see Anthropic::Models::Beta::Sessions::BetaManagedAgentsSpanOutcomeEvaluationOngoingEvent for more details.

Periodic heartbeat emitted while an outcome evaluation cycle is in progress. Distinguishes ‘evaluation is actively running’ from ‘evaluation is stuck’ between the corresponding ‘span.outcome_evaluation_start` and `span.outcome_evaluation_end` events.

Parameters:



# File 'lib/anthropic/models/beta/sessions/beta_managed_agents_span_outcome_evaluation_ongoing_event.rb', line 39

Instance Attribute Details

#idString

Unique identifier for this event.

Returns:

  • (String)


12
# File 'lib/anthropic/models/beta/sessions/beta_managed_agents_span_outcome_evaluation_ongoing_event.rb', line 12

required :id, String

#iterationInteger

0-indexed revision cycle, matching the corresponding ‘span.outcome_evaluation_start`.

Returns:

  • (Integer)


19
# File 'lib/anthropic/models/beta/sessions/beta_managed_agents_span_outcome_evaluation_ongoing_event.rb', line 19

required :iteration, Integer

#outcome_idString

The ‘outc_` ID of the outcome being evaluated.

Returns:

  • (String)


25
# File 'lib/anthropic/models/beta/sessions/beta_managed_agents_span_outcome_evaluation_ongoing_event.rb', line 25

required :outcome_id, String

#processed_atTime

A timestamp in RFC 3339 format

Returns:

  • (Time)


31
# File 'lib/anthropic/models/beta/sessions/beta_managed_agents_span_outcome_evaluation_ongoing_event.rb', line 31

required :processed_at, Time

#typeSymbol, Anthropic::Models::Beta::Sessions::BetaManagedAgentsSpanOutcomeEvaluationOngoingEvent::Type



36
37
# File 'lib/anthropic/models/beta/sessions/beta_managed_agents_span_outcome_evaluation_ongoing_event.rb', line 36

required :type,
enum: -> { Anthropic::Beta::Sessions::BetaManagedAgentsSpanOutcomeEvaluationOngoingEvent::Type }