liter_llm 2.1.4-aarch64-linux → 2.2.3-aarch64-linux
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/liter_llm/version.rb +2 -2
- data/lib/liter_llm_rb.so +2 -2
- data/sig/types.rbs +45 -4
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8f990632197bf24d84c82b2ef5113fa8d31145b72259fcc839a4111a1ca85054
|
|
4
|
+
data.tar.gz: 37cc5f4830ec0218a871f66a8c9cfd13bb178df9bd550b949dbe1e8e6b1377bb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 69bf62d7646ad0409c4a0d2173db4ac3d88d814f11a75d86a5cbacb48a80101ea52a4e8cdd9d6818cefe40c52be44f2fb773c175a053c84c9a533bf210b2e31e
|
|
7
|
+
data.tar.gz: 502319d8d418b8b481ad237b8b37fac232a2dff3514a424b5f6266d08e028648d11537e914745c977a6680ffbe93144c2fe5eb7f4906d19bc6492a2cf4689469
|
data/lib/liter_llm/version.rb
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# This file is auto-generated by alef — DO NOT EDIT.
|
|
2
|
-
# alef:hash:
|
|
2
|
+
# alef:hash:d820b0eb3dcb8f85bafc275011fcc83d644d7df0454fe1d9863c79edf59a88c4
|
|
3
3
|
# To regenerate: alef generate
|
|
4
4
|
# To verify freshness: alef verify
|
|
5
5
|
# frozen_string_literal: true
|
|
6
6
|
|
|
7
7
|
module LiterLlm
|
|
8
8
|
## The version string for this package.
|
|
9
|
-
VERSION = "2.
|
|
9
|
+
VERSION = "2.2.3"
|
|
10
10
|
end
|
data/lib/liter_llm_rb.so
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
[diffend] Oversized file quarantined before diffing.
|
|
2
2
|
name: data/lib/liter_llm_rb.so
|
|
3
|
-
size:
|
|
4
|
-
sha256:
|
|
3
|
+
size: 36634032 bytes
|
|
4
|
+
sha256: 8b96bca277973b8de29ac99edefd47fb2143b568ecfe5167035aadf52a6d6ac4
|
data/sig/types.rbs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# This file is auto-generated by alef — DO NOT EDIT.
|
|
2
|
-
# alef:hash:
|
|
2
|
+
# alef:hash:424dd8b9d3e3891415d6de9d838e00ab814f2e2c14a31d9dca8f567fa8901e80
|
|
3
3
|
# To regenerate: alef generate
|
|
4
4
|
# To verify freshness: alef verify
|
|
5
5
|
|
|
@@ -109,6 +109,17 @@ module LiterLlm
|
|
|
109
109
|
def initialize: (?max_entries: Integer, ?ttl: Integer, ?backend: CacheBackend) -> void
|
|
110
110
|
end
|
|
111
111
|
|
|
112
|
+
class CatalogInfo
|
|
113
|
+
attr_reader source: String
|
|
114
|
+
attr_reader source_sha256: String
|
|
115
|
+
attr_reader fetched: String
|
|
116
|
+
attr_reader library_version: String
|
|
117
|
+
attr_reader schema_version: Integer
|
|
118
|
+
attr_reader origin: String
|
|
119
|
+
|
|
120
|
+
def initialize: (?source: String, ?source_sha256: String, ?fetched: String, ?library_version: String, ?schema_version: Integer, ?origin: String) -> void
|
|
121
|
+
end
|
|
122
|
+
|
|
112
123
|
class CatalogRefreshConfig
|
|
113
124
|
attr_reader enabled: bool
|
|
114
125
|
attr_reader source_url: String
|
|
@@ -195,6 +206,23 @@ module LiterLlm
|
|
|
195
206
|
def initialize: (?index: Integer, ?message: AssistantMessage, ?finish_reason: enum_FinishReason, ?logprobs: String) -> void
|
|
196
207
|
end
|
|
197
208
|
|
|
209
|
+
class ClientOptions
|
|
210
|
+
attr_reader api_key: String
|
|
211
|
+
attr_reader base_url: String?
|
|
212
|
+
attr_reader timeout_secs: Integer?
|
|
213
|
+
attr_reader max_retries: Integer?
|
|
214
|
+
attr_reader max_response_bytes: Integer?
|
|
215
|
+
attr_reader model_hint: String?
|
|
216
|
+
|
|
217
|
+
def initialize: (?api_key: String, ?base_url: String, ?timeout_secs: Integer, ?max_retries: Integer, ?max_response_bytes: Integer, ?model_hint: String) -> void
|
|
218
|
+
end
|
|
219
|
+
|
|
220
|
+
class CompletionTokensDetails
|
|
221
|
+
attr_reader reasoning_tokens: Integer
|
|
222
|
+
|
|
223
|
+
def initialize: (?reasoning_tokens: Integer) -> void
|
|
224
|
+
end
|
|
225
|
+
|
|
198
226
|
class CreateBatchRequest
|
|
199
227
|
attr_reader input_file_id: String
|
|
200
228
|
attr_reader endpoint: String
|
|
@@ -514,6 +542,9 @@ module LiterLlm
|
|
|
514
542
|
end
|
|
515
543
|
|
|
516
544
|
class ModelInfo
|
|
545
|
+
attr_reader matched_key: String
|
|
546
|
+
attr_reader exact: bool
|
|
547
|
+
attr_reader price_known: bool
|
|
517
548
|
attr_reader input_cost_per_token: Float
|
|
518
549
|
attr_reader output_cost_per_token: Float
|
|
519
550
|
attr_reader cache_read_input_token_cost: Float?
|
|
@@ -534,7 +565,7 @@ module LiterLlm
|
|
|
534
565
|
attr_reader supports_prompt_caching: bool?
|
|
535
566
|
attr_reader tiers: Array[ModelTier]
|
|
536
567
|
|
|
537
|
-
def initialize: (?input_cost_per_token: Float, ?output_cost_per_token: Float, ?cache_read_input_token_cost: Float, ?cache_creation_input_token_cost: Float, ?input_cost_per_audio_token: Float, ?output_cost_per_audio_token: Float, ?output_cost_per_reasoning_token: Float, ?max_tokens: Integer, ?max_input_tokens: Integer, ?max_output_tokens: Integer, ?mode: String, ?supports_vision: bool, ?supports_function_calling: bool, ?supports_reasoning: bool, ?supports_structured_output: bool, ?supports_audio_input: bool, ?supports_audio_output: bool, ?supports_prompt_caching: bool, ?tiers: Array[ModelTier]) -> void
|
|
568
|
+
def initialize: (?matched_key: String, ?exact: bool, ?price_known: bool, ?input_cost_per_token: Float, ?output_cost_per_token: Float, ?cache_read_input_token_cost: Float, ?cache_creation_input_token_cost: Float, ?input_cost_per_audio_token: Float, ?output_cost_per_audio_token: Float, ?output_cost_per_reasoning_token: Float, ?max_tokens: Integer, ?max_input_tokens: Integer, ?max_output_tokens: Integer, ?mode: String, ?supports_vision: bool, ?supports_function_calling: bool, ?supports_reasoning: bool, ?supports_structured_output: bool, ?supports_audio_input: bool, ?supports_audio_output: bool, ?supports_prompt_caching: bool, ?tiers: Array[ModelTier]) -> void
|
|
538
569
|
end
|
|
539
570
|
|
|
540
571
|
class ModelObject
|
|
@@ -663,9 +694,10 @@ module LiterLlm
|
|
|
663
694
|
|
|
664
695
|
class PromptTokensDetails
|
|
665
696
|
attr_reader cached_tokens: Integer
|
|
697
|
+
attr_reader cache_creation_tokens: Integer
|
|
666
698
|
attr_reader audio_tokens: Integer
|
|
667
699
|
|
|
668
|
-
def initialize: (?cached_tokens: Integer, ?audio_tokens: Integer) -> void
|
|
700
|
+
def initialize: (?cached_tokens: Integer, ?cache_creation_tokens: Integer, ?audio_tokens: Integer) -> void
|
|
669
701
|
end
|
|
670
702
|
|
|
671
703
|
class ProviderCapabilities
|
|
@@ -896,8 +928,9 @@ module LiterLlm
|
|
|
896
928
|
attr_reader completion_tokens: Integer
|
|
897
929
|
attr_reader total_tokens: Integer
|
|
898
930
|
attr_reader prompt_tokens_details: PromptTokensDetails?
|
|
931
|
+
attr_reader completion_tokens_details: CompletionTokensDetails?
|
|
899
932
|
|
|
900
|
-
def initialize: (?prompt_tokens: Integer, ?completion_tokens: Integer, ?total_tokens: Integer, ?prompt_tokens_details: PromptTokensDetails) -> void
|
|
933
|
+
def initialize: (?prompt_tokens: Integer, ?completion_tokens: Integer, ?total_tokens: Integer, ?prompt_tokens_details: PromptTokensDetails, ?completion_tokens_details: CompletionTokensDetails) -> void
|
|
901
934
|
end
|
|
902
935
|
|
|
903
936
|
class UserMessage
|
|
@@ -1001,6 +1034,8 @@ module LiterLlm
|
|
|
1001
1034
|
|
|
1002
1035
|
def self.capabilities: (String provider_name) -> ProviderCapabilities
|
|
1003
1036
|
|
|
1037
|
+
def self.catalog_info: () -> CatalogInfo?
|
|
1038
|
+
|
|
1004
1039
|
def self.check_bound: (String context, Integer current_len, Integer incoming, Integer limit) -> void
|
|
1005
1040
|
|
|
1006
1041
|
def self.clear: () -> void
|
|
@@ -1011,6 +1046,8 @@ module LiterLlm
|
|
|
1011
1046
|
|
|
1012
1047
|
def self.completion_cost_with_cache: (String model, Integer prompt_tokens, Integer cached_tokens, Integer completion_tokens) -> Float?
|
|
1013
1048
|
|
|
1049
|
+
def self.completion_cost_with_cache_details: (String model, Integer prompt_tokens, Integer cached_tokens, Integer cache_creation_tokens, Integer completion_tokens) -> Float?
|
|
1050
|
+
|
|
1014
1051
|
def self.complex_provider_names: () -> Array[String]
|
|
1015
1052
|
|
|
1016
1053
|
def self.count_request_tokens: (String model, ChatCompletionRequest req) -> Integer
|
|
@@ -1021,12 +1058,16 @@ module LiterLlm
|
|
|
1021
1058
|
|
|
1022
1059
|
def self.create_client_from_json: (String json) -> DefaultClient
|
|
1023
1060
|
|
|
1061
|
+
def self.create_client_with_options: (ClientOptions options) -> DefaultClient
|
|
1062
|
+
|
|
1024
1063
|
def self.decode_data_url: (String url) -> DecodedDataUrl?
|
|
1025
1064
|
|
|
1026
1065
|
def self.encode_data_url: (String bytes, ?String mime) -> String
|
|
1027
1066
|
|
|
1028
1067
|
def self.ensure_crypto_provider: () -> void
|
|
1029
1068
|
|
|
1069
|
+
def self.exact_model_info: (String model) -> ModelInfo?
|
|
1070
|
+
|
|
1030
1071
|
def self.install_catalog_overlay_from_str: (String catalog_json) -> void
|
|
1031
1072
|
|
|
1032
1073
|
def self.model_info: (String model) -> ModelInfo?
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: liter_llm
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.2.3
|
|
5
5
|
platform: aarch64-linux
|
|
6
6
|
authors:
|
|
7
7
|
- Na'aman Hirschfeld
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-10-
|
|
11
|
+
date: 2026-10-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: sorbet-runtime
|