Class: Cadenya::Models::ObjectiveEventData::TimedOut

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/cadenya/models/objective_event_data.rb,
sig/cadenya/models/objective_event_data.rbs

Overview

See Also:

  • Cadenya::Models::ObjectiveEventData#timed_out

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(message: nil) ⇒ TimedOut

Some parameter documentations has been truncated, see Cadenya::Models::ObjectiveEventData::TimedOut for more details.

ObjectiveTimedOut is the terminal event written when an objective is finalized by the inactivity sweep because it saw no activity (no user messages, no LLM calls) within its variation's inactivity timeout — or the system-wide 24 hour maximum when no timeout is configured. The objective produces no output. After this event, the objective is super-terminal: no further iterations, compaction, or continuation are permitted.

Parameters:

  • message (String) (defaults to: nil)

    Human-readable note recorded at timeout time (e.g. "Timed out after 2h

  • message: (String) (defaults to: nil)


# File 'lib/cadenya/models/objective_event_data.rb', line 263

Instance Attribute Details

#messageString?

Human-readable note recorded at timeout time (e.g. "Timed out after 2h of inactivity").

Parameters:

  • (String)

Returns:

  • (String, nil)


261
# File 'lib/cadenya/models/objective_event_data.rb', line 261

optional :message, String

Instance Method Details

#to_hash{ message: String }

Returns:

  • ({ message: String })


238
# File 'sig/cadenya/models/objective_event_data.rbs', line 238

def to_hash: -> { message: String }