Class: Zavudev::Models::Senders::AgentStats
Overview
Instance Attribute Summary collapse
Instance Method Summary
collapse
==, #==, #[], 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
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(error_count:, success_count:, total_cost:, total_invocations:, total_tokens_used:, avg_latency_ms: nil) ⇒ Object
|
# File 'lib/zavudev/models/senders/agent_stats.rb', line 39
|
Instance Attribute Details
#avg_latency_ms ⇒ Float?
37
|
# File 'lib/zavudev/models/senders/agent_stats.rb', line 37
optional :avg_latency_ms, Float, api_name: :avgLatencyMs, nil?: true
|
#error_count ⇒ Integer
11
|
# File 'lib/zavudev/models/senders/agent_stats.rb', line 11
required :error_count, Integer, api_name: :errorCount
|
#success_count ⇒ Integer
16
|
# File 'lib/zavudev/models/senders/agent_stats.rb', line 16
required :success_count, Integer, api_name: :successCount
|
#total_cost ⇒ Float
22
|
# File 'lib/zavudev/models/senders/agent_stats.rb', line 22
required :total_cost, Float, api_name: :totalCost
|
#total_invocations ⇒ Integer
27
|
# File 'lib/zavudev/models/senders/agent_stats.rb', line 27
required :total_invocations, Integer, api_name: :totalInvocations
|
#total_tokens_used ⇒ Integer
32
|
# File 'lib/zavudev/models/senders/agent_stats.rb', line 32
required :total_tokens_used, Integer, api_name: :totalTokensUsed
|