enum

Crig::Providers::OpenRouter::ProviderSortStrategy

Inherits Enum < Comparable < Value < Object

Constants

Price = 0
Throughput = 1
Latency = 2

Constructors

from_json_value(value : JSON::Any) : self
Source

Instance methods

latency?

Returns true if this enum value equals Latency

Source
price?

Returns true if this enum value equals Price

Source
throughput?

Returns true if this enum value equals Throughput

Source
to_wire
Source