Class: Anthropic::Models::Beta::BetaDiagnostics
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::BetaDiagnostics
- Defined in:
- lib/anthropic/models/beta/beta_diagnostics.rb
Defined Under Namespace
Modules: CacheMissReason
Instance Attribute Summary collapse
-
#cache_miss_reason ⇒ Anthropic::Models::Beta::BetaCacheMissModelChanged, ...
Explains why the prompt cache could not fully reuse the prefix from the request identified by ‘diagnostics.previous_message_id`.
Instance Method Summary collapse
-
#initialize(cache_miss_reason:) ⇒ Object
constructor
Some parameter documentations has been truncated, see BetaDiagnostics 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(cache_miss_reason:) ⇒ Object
Some parameter documentations has been truncated, see Anthropic::Models::Beta::BetaDiagnostics for more details.
Response envelope for request-level diagnostics. Present (possibly null) whenever the caller supplied ‘diagnostics` on the request.
|
|
# File 'lib/anthropic/models/beta/beta_diagnostics.rb', line 20
|
Instance Attribute Details
#cache_miss_reason ⇒ Anthropic::Models::Beta::BetaCacheMissModelChanged, ...
Explains why the prompt cache could not fully reuse the prefix from the request identified by ‘diagnostics.previous_message_id`. `null` means diagnosis is still pending — the response was serialized before the background comparison completed.
14 15 16 17 18 |
# File 'lib/anthropic/models/beta/beta_diagnostics.rb', line 14 required :cache_miss_reason, union: -> { Anthropic::Beta::BetaDiagnostics::CacheMissReason }, nil?: true |