llmshim 0.11.0 → 0.12.0
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/llmshim/types.rb +3 -2
- data/lib/llmshim/version.rb +1 -1
- 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: a8fcba3adff8a1be30aa8cdbdd01932aef70b19ddd9198a3ae0da51dde094c07
|
|
4
|
+
data.tar.gz: e3c32705275bd2b07dff63bd35136c9ce9dbca22c678b19c018b45628a990ac5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4e44f34c17413f5b70918e7772eab281a101884b265fb729bae47190bf1da6d3227cf232c916816c971c503958c5531ecaccff036ea18fdf866f6081003c6762
|
|
7
|
+
data.tar.gz: 1388d81826057571250e608838d34976a400105630a52031752c8b03e34cef267759049512070684ce7f58e932be0565fd24555e74debbc8f6e1717c335c09dc
|
data/lib/llmshim/types.rb
CHANGED
|
@@ -23,8 +23,9 @@ module Llmshim
|
|
|
23
23
|
cache_write_tokens: hash.fetch("cache_write_tokens", 0),
|
|
24
24
|
# nil means the server could not price the model, never free.
|
|
25
25
|
cost_usd: hash["cost_usd"],
|
|
26
|
-
# "provider"
|
|
27
|
-
#
|
|
26
|
+
# "provider" for an exact terminal bill, "provider_floor" for the
|
|
27
|
+
# highest partial provider bill observed (a lower bound), or "catalog"
|
|
28
|
+
# for an estimate.
|
|
28
29
|
cost_source: hash["cost_source"]
|
|
29
30
|
)
|
|
30
31
|
end
|
data/lib/llmshim/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: llmshim
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.12.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sanjay Nadhavajhala
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-09-
|
|
11
|
+
date: 2026-09-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: minitest
|