Module: Anthropic::Helpers::Tracing::Recorders::BatchesCreate Private
- Defined in:
- lib/anthropic/helpers/tracing/recorders.rb
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Class Method Summary collapse
- .record(_span, _result) ⇒ void private
- .start_attributes(_client, req) ⇒ Hash{String=>Object} private
Class Method Details
.record(_span, _result) ⇒ void
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
101 |
# File 'lib/anthropic/helpers/tracing/recorders.rb', line 101 def record(_span, _result) = nil |
.start_attributes(_client, req) ⇒ Hash{String=>Object}
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
95 96 97 |
# File 'lib/anthropic/helpers/tracing/recorders.rb', line 95 def start_attributes(_client, req) {ANTHROPIC_MESSAGE_BATCH_REQUEST_COUNT => req[:body][:requests]&.length} end |