lib/anthropic/models/message_delta_usage.rb (7 lines of code) (raw):
# frozen_string_literal: true
module Anthropic
module Models
class MessageDeltaUsage < Anthropic::Internal::Type::BaseModel
# @!attribute output_tokens
# The cumulative number of output tokens which were used.
#
# @return [Integer]
required :output_tokens, Integer
# @!parse
# # @param output_tokens [Integer]
# #
# def initialize(output_tokens:, **) = super
# def initialize: (Hash | Anthropic::Internal::Type::BaseModel) -> void
end
end
end