Class: Handinger::Models::UpdateWorker
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Handinger::Models::UpdateWorker
- Defined in:
- lib/handinger/models/update_worker.rb
Direct Known Subclasses
Defined Under Namespace
Modules: Visibility
Instance Attribute Summary collapse
-
#instructions ⇒ String?
Replaces the persistent system prompt.
-
#output_schema ⇒ Hash{Symbol=>Object}?
Replace the worker’s structured output schema.
-
#summary ⇒ String?
Replaces the worker’s short one-line summary.
-
#title ⇒ String?
New display name for the worker.
-
#visibility ⇒ Symbol, ...
Change visibility between ‘public` (any org member can run tasks) and `private` (only invited members).
Instance Method Summary collapse
-
#initialize(instructions: nil, output_schema: nil, summary: nil, title: nil, visibility: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see UpdateWorker for more details.
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(instructions: nil, output_schema: nil, summary: nil, title: nil, visibility: nil) ⇒ Object
Some parameter documentations has been truncated, see Handinger::Models::UpdateWorker for more details.
|
|
# File 'lib/handinger/models/update_worker.rb', line 42
|
Instance Attribute Details
#instructions ⇒ String?
Replaces the persistent system prompt. Subsequent tasks pick up the new instructions immediately; in-flight tasks keep using the previous version.
11 |
# File 'lib/handinger/models/update_worker.rb', line 11 optional :instructions, String |
#output_schema ⇒ Hash{Symbol=>Object}?
Replace the worker’s structured output schema. Pass ‘null` to clear it and return to free-form text responses.
18 19 20 21 |
# File 'lib/handinger/models/update_worker.rb', line 18 optional :output_schema, Handinger::Internal::Type::HashOf[Handinger::Internal::Type::Unknown], api_name: :outputSchema, nil?: true |
#summary ⇒ String?
Replaces the worker’s short one-line summary.
27 |
# File 'lib/handinger/models/update_worker.rb', line 27 optional :summary, String |
#title ⇒ String?
New display name for the worker.
33 |
# File 'lib/handinger/models/update_worker.rb', line 33 optional :title, String |
#visibility ⇒ Symbol, ...
Change visibility between ‘public` (any org member can run tasks) and `private` (only invited members).
40 |
# File 'lib/handinger/models/update_worker.rb', line 40 optional :visibility, enum: -> { Handinger::UpdateWorker::Visibility } |