liter_llm 1.15.0-aarch64-linux → 1.16.0-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/native.rb +1 -1
- data/lib/liter_llm/version.rb +2 -2
- data/lib/liter_llm.rb +1 -1
- data/lib/liter_llm_rb.so +0 -0
- data/sig/types.rbs +70 -3
- 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: 59adb0220f10499c1c67920207d020bfea5d29f20fd59f2e1f0ed574bb5c72b3
|
|
4
|
+
data.tar.gz: 41f33f83ade795afec0e3a380f7c8a37aa533537908813914e9e3e835685da87
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e1c136b8a7131917341407ec51be25b08264011b8f64d95d5a60c3a60bb5e9d276e4eb0fd9d4d4afb1784307e90f50e362aa1f58bdc2c43f2ab0467a221a445f
|
|
7
|
+
data.tar.gz: bef754618f5ac5004bf26a4e1b9f5bdc5cb7c690b96fd9a4bedbff3d2222cd5856f69feca5cff1b8515360b86108a8b3d3f855293f7abea056cd3c3ac4e09934
|
data/lib/liter_llm/native.rb
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# This file is auto-generated by alef — DO NOT EDIT.
|
|
2
|
-
# alef:hash:
|
|
2
|
+
# alef:hash:938b8ffd93c3e30d74875f875188c728addee9d4b80a97a7ac22716b3154c7c5
|
|
3
3
|
# To regenerate: alef generate
|
|
4
4
|
# To verify freshness: alef verify --exit-code
|
|
5
5
|
# frozen_string_literal: true
|
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:938b8ffd93c3e30d74875f875188c728addee9d4b80a97a7ac22716b3154c7c5
|
|
3
3
|
# To regenerate: alef generate
|
|
4
4
|
# To verify freshness: alef verify --exit-code
|
|
5
5
|
# frozen_string_literal: true
|
|
6
6
|
|
|
7
7
|
module LiterLlm
|
|
8
8
|
## The version string for this package.
|
|
9
|
-
VERSION = "1.
|
|
9
|
+
VERSION = "1.16.0"
|
|
10
10
|
end
|
data/lib/liter_llm.rb
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# This file is auto-generated by alef — DO NOT EDIT.
|
|
2
|
-
# alef:hash:
|
|
2
|
+
# alef:hash:938b8ffd93c3e30d74875f875188c728addee9d4b80a97a7ac22716b3154c7c5
|
|
3
3
|
# To regenerate: alef generate
|
|
4
4
|
# To verify freshness: alef verify --exit-code
|
|
5
5
|
# frozen_string_literal: true
|
data/lib/liter_llm_rb.so
CHANGED
|
Binary file
|
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:938b8ffd93c3e30d74875f875188c728addee9d4b80a97a7ac22716b3154c7c5
|
|
3
3
|
# To regenerate: alef generate
|
|
4
4
|
# To verify freshness: alef verify --exit-code
|
|
5
5
|
|
|
@@ -61,11 +61,11 @@ module LiterLlm
|
|
|
61
61
|
end
|
|
62
62
|
|
|
63
63
|
class ToolMessage
|
|
64
|
-
attr_accessor content:
|
|
64
|
+
attr_accessor content: UserContent?
|
|
65
65
|
attr_accessor tool_call_id: String?
|
|
66
66
|
attr_accessor name: String?
|
|
67
67
|
|
|
68
|
-
def initialize: (?content:
|
|
68
|
+
def initialize: (?content: UserContent, ?tool_call_id: String, ?name: String) -> void
|
|
69
69
|
end
|
|
70
70
|
|
|
71
71
|
class DeveloperMessage
|
|
@@ -667,6 +667,73 @@ module LiterLlm
|
|
|
667
667
|
def initialize: (?input_tokens: Integer, ?output_tokens: Integer, ?total_tokens: Integer) -> void
|
|
668
668
|
end
|
|
669
669
|
|
|
670
|
+
class LlmConfig
|
|
671
|
+
attr_accessor model: String?
|
|
672
|
+
attr_accessor api_key: String?
|
|
673
|
+
attr_accessor base_url: String?
|
|
674
|
+
attr_accessor timeout_secs: Integer?
|
|
675
|
+
attr_accessor max_retries: Integer?
|
|
676
|
+
attr_accessor temperature: Float?
|
|
677
|
+
attr_accessor max_tokens: Integer?
|
|
678
|
+
attr_accessor load_env: bool?
|
|
679
|
+
attr_accessor headers: Hash[String, String]?
|
|
680
|
+
attr_accessor providers: Array[LlmProviderConfig]?
|
|
681
|
+
attr_accessor cache: LlmCacheConfig?
|
|
682
|
+
attr_accessor budget: LlmBudgetConfig?
|
|
683
|
+
attr_accessor rate_limit: LlmRateLimitConfig?
|
|
684
|
+
attr_accessor cost_tracking: bool?
|
|
685
|
+
attr_accessor tracing: bool?
|
|
686
|
+
attr_accessor cooldown_secs: Integer?
|
|
687
|
+
attr_accessor health_check_secs: Integer?
|
|
688
|
+
attr_accessor bedrock: BedrockConfig?
|
|
689
|
+
|
|
690
|
+
def initialize: (?model: String, ?api_key: String, ?base_url: String, ?timeout_secs: Integer, ?max_retries: Integer, ?temperature: Float, ?max_tokens: Integer, ?load_env: bool, ?headers: Hash[String, String], ?providers: Array[LlmProviderConfig], ?cache: LlmCacheConfig, ?budget: LlmBudgetConfig, ?rate_limit: LlmRateLimitConfig, ?cost_tracking: bool, ?tracing: bool, ?cooldown_secs: Integer, ?health_check_secs: Integer, ?bedrock: BedrockConfig) -> void
|
|
691
|
+
end
|
|
692
|
+
|
|
693
|
+
class LlmCacheConfig
|
|
694
|
+
attr_accessor max_entries: Integer?
|
|
695
|
+
attr_accessor ttl_seconds: Integer?
|
|
696
|
+
attr_accessor backend: String?
|
|
697
|
+
attr_accessor backend_config: Hash[String, String]?
|
|
698
|
+
|
|
699
|
+
def initialize: (?max_entries: Integer, ?ttl_seconds: Integer, ?backend: String, ?backend_config: Hash[String, String]) -> void
|
|
700
|
+
end
|
|
701
|
+
|
|
702
|
+
class LlmBudgetConfig
|
|
703
|
+
attr_accessor global_limit: Float?
|
|
704
|
+
attr_accessor model_limits: Hash[String, Float]?
|
|
705
|
+
attr_accessor enforcement: String?
|
|
706
|
+
|
|
707
|
+
def initialize: (?global_limit: Float, ?model_limits: Hash[String, Float], ?enforcement: String) -> void
|
|
708
|
+
end
|
|
709
|
+
|
|
710
|
+
class LlmRateLimitConfig
|
|
711
|
+
attr_accessor rpm: Integer?
|
|
712
|
+
attr_accessor tpm: Integer?
|
|
713
|
+
attr_accessor window_seconds: Integer?
|
|
714
|
+
|
|
715
|
+
def initialize: (?rpm: Integer, ?tpm: Integer, ?window_seconds: Integer) -> void
|
|
716
|
+
end
|
|
717
|
+
|
|
718
|
+
class LlmProviderConfig
|
|
719
|
+
attr_accessor name: String?
|
|
720
|
+
attr_accessor base_url: String?
|
|
721
|
+
attr_accessor auth_header: String?
|
|
722
|
+
attr_accessor model_prefixes: Array[String]?
|
|
723
|
+
|
|
724
|
+
def initialize: (?name: String, ?base_url: String, ?auth_header: String, ?model_prefixes: Array[String]) -> void
|
|
725
|
+
end
|
|
726
|
+
|
|
727
|
+
class BedrockConfig
|
|
728
|
+
attr_accessor region: String?
|
|
729
|
+
attr_accessor cross_region_prefix: String?
|
|
730
|
+
attr_accessor access_key_id: String?
|
|
731
|
+
attr_accessor secret_access_key: String?
|
|
732
|
+
attr_accessor session_token: String?
|
|
733
|
+
|
|
734
|
+
def initialize: (?region: String, ?cross_region_prefix: String, ?access_key_id: String, ?secret_access_key: String, ?session_token: String) -> void
|
|
735
|
+
end
|
|
736
|
+
|
|
670
737
|
class WaitForBatchConfig
|
|
671
738
|
attr_accessor initial_interval_secs: Float?
|
|
672
739
|
attr_accessor max_interval_secs: Float?
|
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: 1.
|
|
4
|
+
version: 1.16.0
|
|
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-08-
|
|
11
|
+
date: 2026-08-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: sorbet-runtime
|