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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0e05abb3aa8634aeaf4384839625a395594978ddba74624d177e8d9948f2022e
4
- data.tar.gz: 04f7ef51ae17a9627c52d2f368b7230158f6780e19f3a7c1ae980d0f8aab674d
3
+ metadata.gz: a8fcba3adff8a1be30aa8cdbdd01932aef70b19ddd9198a3ae0da51dde094c07
4
+ data.tar.gz: e3c32705275bd2b07dff63bd35136c9ce9dbca22c678b19c018b45628a990ac5
5
5
  SHA512:
6
- metadata.gz: ce527b973d5813f1c28a5aef8682b8d9268180f1d50336b2efca6afd97d8a4c5b75a1604329abfaf9cebfa1a97192da0e8c3fa32cc87fcecf26d728b1f7e7219
7
- data.tar.gz: 88631d90bcbe591f106d516aa5acfa2d6eb5bd49a954472da4e7d82fd0e8004d3bfd44ea6ffd61556a0b4810cc73792ef2b0248f9008aad30203330855eec9e9
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" when the number is the bill the provider reported for this
27
- # generation, "catalog" when it was computed from catalog prices.
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Llmshim
4
- VERSION = "0.11.0"
4
+ VERSION = "0.12.0"
5
5
  end
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.11.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-22 00:00:00.000000000 Z
11
+ date: 2026-09-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest