Module: Anthropic::Models::Beta::BetaMessageParam::ClearAt

Extended by:
Internal::Type::Enum
Defined in:
lib/anthropic/models/beta/beta_message_param.rb,
sig/anthropic/models/beta/beta_message_param.rbs

Overview

How long this system message's text stays in front of the model. "never" (the default) renders it on every request that includes it. "next_user_message" renders it only for the user turn it follows: once a later role: "user" message exists in messages the message stays in the array (send it unchanged) but is no longer shown to the model. Only permitted on role: "system" messages.

See Also:

  • Anthropic::Models::Beta::BetaMessageParam#clear_at

Constant Summary collapse

NEXT_USER_MESSAGE =

Returns:

  • (:next_user_message)
:next_user_message
NEVER =

Returns:

  • (:never)
:never

Instance Method Summary collapse

Methods included from Internal::Type::Enum

==, ===, coerce, dump, hash, inspect, to_sorbet_type, values, values

Methods included from Internal::Util::SorbetRuntimeSupport

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

Methods included from Internal::Type::Converter

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

Instance Method Details

#self?.values::Array[Anthropic::Models::Beta::BetaMessageParam::clear_at]

Returns:

  • (::Array[Anthropic::Models::Beta::BetaMessageParam::clear_at])


68
# File 'sig/anthropic/models/beta/beta_message_param.rbs', line 68

def self?.values: -> ::Array[Anthropic::Models::Beta::BetaMessageParam::clear_at]