liter_llm 1.4.0.pre.rc.26-x86_64-linux → 1.4.0.pre.rc.27-x86_64-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_rb.so +0 -0
- data/sig/types.rbs +17 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 883494e4d2cd69849909a810b0bfe2aea1c8707055b3614b09d68920623aff75
|
|
4
|
+
data.tar.gz: 504ec8ce7d395e2556e12e6e96b27410f69a4a82170269b612531c6aba61063e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8ca27aee5fe47a5af419cf1e01d43a8fac41c2e80893471fe24f7809cdd62effcb928b59be7c0e2fb064474ea45e7c441d736628d6c6cca9b50317cc22b14502
|
|
7
|
+
data.tar.gz: 5c25a760b4f9673fcb33d94045b38e6319ad8b83264b23cbb3f9b60e02e343b13c0b355afa14aa34acd0697d63fe18e8321f35c717da3c079047044a835bc5d6
|
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:4732d7c2b72dd95da580860916bb13bd286d6d51cef57a132fc50221862bc78f
|
|
3
3
|
# To regenerate: alef generate
|
|
4
4
|
# To verify freshness: alef verify --exit-code
|
|
5
5
|
# Issues & docs: https://github.com/kreuzberg-dev/alef
|
|
@@ -137,8 +137,23 @@ module Liter_llm
|
|
|
137
137
|
attr_accessor prompt_tokens: Integer
|
|
138
138
|
attr_accessor completion_tokens: Integer
|
|
139
139
|
attr_accessor total_tokens: Integer
|
|
140
|
+
attr_accessor prompt_tokens_details: PromptTokensDetails
|
|
140
141
|
|
|
141
|
-
def initialize: (prompt_tokens: Integer, completion_tokens: Integer, total_tokens: Integer) -> void
|
|
142
|
+
def initialize: (prompt_tokens: Integer, completion_tokens: Integer, total_tokens: Integer, ?prompt_tokens_details: PromptTokensDetails) -> void
|
|
143
|
+
end
|
|
144
|
+
|
|
145
|
+
class PromptTokensDetails
|
|
146
|
+
# Breakdown of tokens used in the prompt portion of a request.
|
|
147
|
+
#
|
|
148
|
+
# `cached_tokens` is included in `Usage::prompt_tokens` — it is *not* an
|
|
149
|
+
# additional charge on top of the prompt token count. When pricing supports
|
|
150
|
+
# a `cache_read_input_token_cost`, the cached portion is billed at the
|
|
151
|
+
# discounted rate and the remainder at the regular input rate.
|
|
152
|
+
|
|
153
|
+
attr_accessor cached_tokens: Integer
|
|
154
|
+
attr_accessor audio_tokens: Integer
|
|
155
|
+
|
|
156
|
+
def initialize: (cached_tokens: Integer, audio_tokens: Integer) -> void
|
|
142
157
|
end
|
|
143
158
|
|
|
144
159
|
class ChatCompletionRequest
|