telnyx 5.108.0 → 5.109.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/CHANGELOG.md +8 -0
- data/README.md +1 -1
- data/lib/telnyx/models/model_metadata.rb +6 -4
- data/lib/telnyx/version.rb +1 -1
- data/rbi/telnyx/models/model_metadata.rbi +10 -6
- 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: 0635664beaf5954a5a6aee1fc3c90c1531aea5009a3165877d85f3012cbd68d4
|
|
4
|
+
data.tar.gz: 1814d374ea0f75de957b6e0b57717439184007bfc94c5281fbb424f3239b7d1a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4a0adea08fee9b62f04de0b1bb2e193b1a82af840af6774f689008983972a477ba421f440213d843f0c166e5ad46ddfa1bdd38995d6d39322a2f0b63a90ed6e0
|
|
7
|
+
data.tar.gz: c0c7f970f7e64a7384891a14b91fd2ff8e9a8044b424e20354e2211a63cdb74e6bb7723bd3846227d9d2d65c50899d4485c0943688de7c75f44b6869804ecc52
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 5.109.0 (2026-05-11)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v5.108.0...v5.109.0](https://github.com/team-telnyx/telnyx-ruby/compare/v5.108.0...v5.109.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* AI-2312: document currency and unit in /models pricing schema ([b430e37](https://github.com/team-telnyx/telnyx-ruby/commit/b430e37b18b56c45ff7ac926e92b569c96800110))
|
|
10
|
+
|
|
3
11
|
## 5.108.0 (2026-05-11)
|
|
4
12
|
|
|
5
13
|
Full Changelog: [v5.107.0...v5.108.0](https://github.com/team-telnyx/telnyx-ruby/compare/v5.107.0...v5.108.0)
|
data/README.md
CHANGED
|
@@ -112,9 +112,11 @@ module Telnyx
|
|
|
112
112
|
optional :parameters_str, String, nil?: true
|
|
113
113
|
|
|
114
114
|
# @!attribute pricing
|
|
115
|
-
# Mapping of token kind to price
|
|
116
|
-
# are `
|
|
117
|
-
#
|
|
115
|
+
# Mapping of token kind to price, as strings to preserve precision. Typical keys
|
|
116
|
+
# are `prompt`, `cached_prompt`, and `completion`. When pricing is available the
|
|
117
|
+
# block also includes `currency` (ISO 4217 code matching the account's configured
|
|
118
|
+
# billing currency) and `unit` (the denomination the prices are quoted in,
|
|
119
|
+
# currently always `1M_tokens` for token-priced models).
|
|
118
120
|
#
|
|
119
121
|
# @return [Hash{Symbol=>String}, nil]
|
|
120
122
|
optional :pricing, Telnyx::Internal::Type::HashOf[String]
|
|
@@ -182,7 +184,7 @@ module Telnyx
|
|
|
182
184
|
#
|
|
183
185
|
# @param parameters_str [String, nil] Human-readable parameter count, e.g. `1.0T`, `753.9B`, `8B`.
|
|
184
186
|
#
|
|
185
|
-
# @param pricing [Hash{Symbol=>String}] Mapping of token kind to price
|
|
187
|
+
# @param pricing [Hash{Symbol=>String}] Mapping of token kind to price, as strings to preserve precision. Typical keys a
|
|
186
188
|
#
|
|
187
189
|
# @param recommended_for_assistants [Boolean] Whether Telnyx currently recommends this model as the LLM powering a Telnyx AI A
|
|
188
190
|
#
|
data/lib/telnyx/version.rb
CHANGED
|
@@ -91,9 +91,11 @@ module Telnyx
|
|
|
91
91
|
sig { returns(T.nilable(String)) }
|
|
92
92
|
attr_accessor :parameters_str
|
|
93
93
|
|
|
94
|
-
# Mapping of token kind to price
|
|
95
|
-
# are `
|
|
96
|
-
#
|
|
94
|
+
# Mapping of token kind to price, as strings to preserve precision. Typical keys
|
|
95
|
+
# are `prompt`, `cached_prompt`, and `completion`. When pricing is available the
|
|
96
|
+
# block also includes `currency` (ISO 4217 code matching the account's configured
|
|
97
|
+
# billing currency) and `unit` (the denomination the prices are quoted in,
|
|
98
|
+
# currently always `1M_tokens` for token-priced models).
|
|
97
99
|
sig { returns(T.nilable(T::Hash[Symbol, String])) }
|
|
98
100
|
attr_reader :pricing
|
|
99
101
|
|
|
@@ -198,9 +200,11 @@ module Telnyx
|
|
|
198
200
|
object: nil,
|
|
199
201
|
# Human-readable parameter count, e.g. `1.0T`, `753.9B`, `8B`.
|
|
200
202
|
parameters_str: nil,
|
|
201
|
-
# Mapping of token kind to price
|
|
202
|
-
# are `
|
|
203
|
-
#
|
|
203
|
+
# Mapping of token kind to price, as strings to preserve precision. Typical keys
|
|
204
|
+
# are `prompt`, `cached_prompt`, and `completion`. When pricing is available the
|
|
205
|
+
# block also includes `currency` (ISO 4217 code matching the account's configured
|
|
206
|
+
# billing currency) and `unit` (the denomination the prices are quoted in,
|
|
207
|
+
# currently always `1M_tokens` for token-priced models).
|
|
204
208
|
pricing: nil,
|
|
205
209
|
# Whether Telnyx currently recommends this model as the LLM powering a Telnyx AI
|
|
206
210
|
# Assistant.
|